map_mapper_annotations library
Contains annotations and mappers to allow the mapping between PODOs and Map<String, dynamic> maps used to interact with MongoDb via mongo_dart package.
Classes
- DefaultKeyHandler
- KeyHandler
- MapField
- When applied as an annotation to a field, indicates the code generator to map that field.
- MapIgnore
- When applied as an annotation to a field, indicates to the code generator to ignore that field.
- MapMap
- Annotate PODO class with MapMap in order to signal the code generator that it is to produce a map mapper for the class to which the annotation was applied.
- MapMapped
- Annotate PODO class with MapMap in order to signal the code generator that it is to produce a map mapper for the class to which the annotation was applied.
-
MapMapper<
TEntity> -
Converts instances of type
TEntity
to Map<String, dynamic> and from Map<String, dynamic> toTEntity