MappableLib class Configuration Polymorphism Generics

Used to annotate a library to define default values.

Constructors

MappableLib({CaseStyle? caseStyle, CaseStyle? enumCaseStyle, bool? ignoreNull, String? discriminatorKey, int? generateMethods, bool? createCombinedContainer, DiscoveryMode? discoveryMode})
const

Properties

caseStyle CaseStyle?
The case style for the map keys
final
createCombinedContainer bool?
Whether to create a new
final
discoveryMode DiscoveryMode?
How to discover mappers when createLinkedContainer is true.
final
discriminatorKey String?
Property key used for type discriminators
final
enumCaseStyle CaseStyle?
The case style for the stringified enum values
final
generateMethods int?
Specify which methods to generate for classes
final
hashCode int
The hash code for this object.
no setterinherited
ignoreNull bool?
If true removes all map keys with null values
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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