discontinuedPackage map_mapper_annotations has been discontinued and replaced by json_annotation.

Config class

Annotations
  • @JsonSerializable.new(checked: true, disallowUnrecognizedKeys: true)

Constructors

Config({String keyHandlerType = '', TimePrecision durationPrecision = TimePrecision.microseconds, DateTimeRepresentation dateTimeRepresentation = DateTimeRepresentation.microsecondsSinceEpoch})
Config.fromJson(Map<String, dynamic> json)
factory

Properties

dateTimeRepresentation → DateTimeRepresentation
final
durationPrecision → TimePrecision
final
hashCode → int
The hash code for this object.
no setterinherited
keyHandlerType → String
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
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited