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, InitializerScope? generateInitializerForScope})
const

Properties

caseStyle CaseStyle?
The case style for the map keys.
final
discriminatorKey String?
Property key used for type discriminators.
final
enumCaseStyle CaseStyle?
The case style for the stringified enum values.
final
generateInitializerForScope InitializerScope?
Will generated a new
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