generators library

Classes

AdapterGenerator
Given a model, outputs generated code to use as a Brick adapter.
AnnotationFinder<_Annotation>
Find an _Annotation per field.
AnnotationSuperGenerator<_Annotation>
Output serializing code for all models with the @_Annotation annotation. This generator is the annotation that discovers all models in the domain and most commonly invokes sub generators. [...]
FieldsForClass<_FieldAnnotation>
Manages all fields of a ClassElement. Generously borrowed from JSON Serializable
ModelDictionaryGenerator
Given a list of models, output generated code to use as brick.g.dart file
ProviderSerializableGenerator<_Config>
Given an element and annotation, output a digestable config
SerdesGenerator<_FieldAnnotation extends FieldSerializable, _SiblingModel extends Model>
A generator that converts raw input into Dart code or Dart code into raw input. Most Providers will require a SerdesGenerator to help the Repository normalize data. [...]
SharedChecker<_SiblingModel extends Model>
A utility to legibly assert a DartType against core types [...]
StringHelpers

Typedefs

HasFieldAnnotation(FieldElement field) → bool
Checker for the field having a predetermined annotation