Quit-Your-Addictions/lib/models/new_habit_model.dart

15 lines
323 B
Dart
Raw Normal View History

2024-01-07 01:49:35 +01:00
import 'package:freezed_annotation/freezed_annotation.dart';
import 'package:flutter/foundation.dart';
part 'new_habit_model.freezed.dart';
@freezed
class NewHabit with _$NewHabit {
const factory NewHabit({
required String name,
required String description,
required int iconCodePoint,
}) = _NewHabit;
}