auto_mappr_annotation library
AutoMappr Annotation.
Classes
- AutoMappr
- Annotates class which will be used as base for generated mappr.
- AutoMapprInterface
- AutoMappr interface for converting source objects into target objects.
- Field
- Mapping configuration of target object's field.
-
MapType<
SOURCE, TARGET> -
Configured mapping from
SOURCEtoTARGET. -
TypeConverter<
SOURCE, TARGET> -
Configured type converter from
SOURCEtoTARGET.
Extensions
-
IterableNullableExtension
on Iterable<
T?> -
Heavily inspired from
package:collectionso we can limit package dependencies. -
MapExtension
on Map<
KEY, VALUE> - Map extension that provides additional methods we use in AutoMap.
Typedefs
-
OnMappingError<
SOURCE> = void Function(Object e, StackTrace stackTrace, SOURCE? source) - Callback invoked when error in mapping.