dart_mappable library Null safety

Classes

BaseMapper<T>
This class needs to be implemented by all mappers
CaseStyle
Used to transform fields to a specific case style
CustomMapper
Used to annotate a class used as a custom mapper. The target class must implement Mapper, e.g. by extending SimpleMapper or BaseMapper
Equality<E>
A generic equality relation on objects.
GenerateMethods
Collection of constants to indicate which methods and extensions to generate for a specific class
IterableEquality<E>
Equality on iterables. [...]
MapEquality<K, V>
Equality on maps. [...]
MappableClass
Used to annotate a class in order to generate mapping code
MappableConstructor
Used to annotate a constructor to be chosen as the decoding function
MappableEnum
Used to annotate an enum in order to generate mapping code
MappableField
Used to annotate a parameter or field to overwrite the mapped key
MappingHooks
Extend this class to define custom MappingHooks for a class or field
SimpleMapper<T>
Simple wrapper around the BaseMapper class that provides direct abstract function declarations
TypeInfo
UnmappedPropertiesHooks
Ready-to-use MappingHooks to get all unmapped properties in a Map.

Mixins

MapperEqualityMixin<T>

Extensions

CaseStyleTransform
TextTransformer
TextTransformParser

Properties

customCase RegExp
final
splitter RegExp
final

Enums

MappingFlags
Collection of flags used for annotations
TextTransform
Text transformation applied to a single word

Exceptions / Errors

MapperException