Mapping class Null safety

Mapping description@freezed

Annotations

Constructors

Mapping({required String from, required String to, @Default([]) List<Mapping> fields, @JsonExtra() @Default({}) Map<String, dynamic> options, @JsonExtra() @Default({}) Map<String, dynamic> extra})
Mapping description
const
factory
Mapping.fromJson(Map<String, dynamic> data)
Creates a Mapping from Json map
factory

Properties

copyWith → $MappingCopyWith<Mapping>
read-onlyinherited
extra Map<String, dynamic>
extra is a map of additional properties.
read-onlyinherited
fields List<Mapping>
entries is a list of Mappings.
read-onlyinherited
from String
from is the JSONpath to the property to map from.
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
options Map<String, dynamic>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
to String
to is the JSONpath to the property to map to.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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