Last updated:
0 purchases
angel3 serialize generator
Angel3 Serialize Generator #
The builder for Angel3 serialization.
Usage #
Create a model class in todo.dart and annotate it with @serializable
import 'package:angel3_serialize/angel3_serialize.dart';
part 'todo.g.dart';
@serializable
class _Todo {
String? text;
bool? completed;
}
copied to clipboard
Run the following command to generate the associated todo.g.dart file for serialization.
dart run build_runner build
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.