angel3_serialize_generator 8.2.1 copy "angel3_serialize_generator: ^8.2.1" to clipboard
angel3_serialize_generator: ^8.2.1 copied to clipboard

Angel3 model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.

Angel3 Serialize Generator #

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

The builder for Angel3 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
    
2
likes
140
pub points
32%
popularity

Publisher

verified publisherdukefirehawk.com

Angel3 model serialization generators, designed for use with Angel. Combine with angel_serialize for flexible modeling.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

analyzer, angel3_model, angel3_serialize, belatuk_code_buffer, build, build_config, code_builder, logging, meta, path, quiver, recase, source_gen

More

Packages that depend on angel3_serialize_generator