Skip to content

Commit

Permalink
feat: add checklist item type
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed May 26, 2024
1 parent 59e5d05 commit b9eb3bd
Show file tree
Hide file tree
Showing 17 changed files with 676 additions and 398 deletions.
21 changes: 0 additions & 21 deletions lib/classes/check_list_item.dart

This file was deleted.

299 changes: 0 additions & 299 deletions lib/classes/check_list_item.freezed.dart

This file was deleted.

33 changes: 0 additions & 33 deletions lib/classes/check_list_item.g.dart

This file was deleted.

14 changes: 14 additions & 0 deletions lib/classes/checklist_item.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import 'package:freezed_annotation/freezed_annotation.dart';

part 'checklist_item.freezed.dart';
part 'checklist_item.g.dart';

@freezed
class ChecklistItemData with _$ChecklistItemData {
const factory ChecklistItemData({
required String title,
}) = _ChecklistItemData;

factory ChecklistItemData.fromJson(Map<String, dynamic> json) =>
_$ChecklistItemDataFromJson(json);
}
Loading

0 comments on commit b9eb3bd

Please sign in to comment.