platform/packages/serialize/angel_serialize_generator
2024-10-12 03:41:18 -07:00
..
example Updated serialize generator 2023-04-21 14:25:54 +08:00
lib Updated deprecated code 2024-06-16 10:13:53 +08:00
test Fixed duplicated fields 2023-06-25 09:46:06 +08:00
.gitignore Update authors and licence 2021-05-15 21:37:00 +08:00
analysis_options.yaml Updated serialize_generator 2021-09-11 14:37:53 +08:00
AUTHORS.md Updated serialise 2022-02-27 12:16:31 +08:00
build.yaml Updated serialize_generator 2021-09-11 14:37:53 +08:00
CHANGELOG.md Refactor: changing namespace, imports, re-branding 2024-10-12 03:41:18 -07:00
LICENSE Updated serialize_generator 2021-09-11 14:37:53 +08:00
pubspec.yaml Refactor: changing namespace, imports, re-branding 2024-10-12 03:41:18 -07:00
README.md Refactor: changing namespace, imports, re-branding 2024-10-12 03:35:14 -07:00

Protevus Serialize Generator

Pub Version (including pre-releases) Null Safety Discord License

The builder for Protevus serialization.

Usage

  1. 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;
        }
    
  2. Run the following command to generate the associated todo.g.dart file for serialization.

        dart run build_runner build