.. | ||
example | ||
lib | ||
test | ||
.gitignore | ||
analysis_options.yaml | ||
AUTHORS.md | ||
build.yaml | ||
CHANGELOG.md | ||
LICENSE | ||
pubspec.yaml | ||
README.md |
Protevus Serialize Generator
The builder for Protevus serialization.
Usage
-
Create a model class in
todo.dart
and annotate it with@serializable
import 'package:protevus_serialize/protevus_serialize.dart'; part 'todo.g.dart'; @serializable class _Todo { String? text; bool? completed; }
-
Run the following command to generate the associated
todo.g.dart
file for serialization.dart run build_runner build