MapMapped class
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.
Constructors
-
MapMapped({bool includeFieldsByDefault = true, bool useDefaultsProvider = false, TimePrecision? durationPrecision, DateTimeRepresentation? dateTimeRepresentation, List<
Type> ? knownSubClasses, bool mapEnumToString = false, Type? keyHandlerType}) -
const
Properties
- dateTimeRepresentation → DateTimeRepresentation?
-
final
- durationPrecision → TimePrecision?
-
Defines the level of precision of DateTime and
Duration fields.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeFieldsByDefault → bool
-
Determines whether to include all fields by default.
final
- keyHandlerType → Type?
-
final
-
knownSubClasses
→ List<
Type> ? -
final
- mapEnumToString → bool
-
Defines whether or not to map enum values to their name (as a String)
or to their index (int). Defaults to index.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useDefaultsProvider → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited