TypedJsonMapValueType<K, J, D> class Null safety

Inheritance
Implementers
Available Extensions

Constructors

TypedJsonMapValueType({required ValueType<String, K> keyValueType, required ValueType<J, D> valueValueType, required bool optional, Map<K, D>? defaultValue})
const

Properties

dartTypeReference → Reference
read-onlyinherited
defaultValue Map<K, D>?
finalinherited
fromJsonFunctionReference → Reference?
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
keyValueType ValueType<String, K>
final
mandatoryFromJsonFunctionReference → Reference?
read-onlyinherited
mandatoryToJsonFunctionReference → Reference?
read-onlyinherited
name String
read-onlyoverride
optional bool
finalinherited
optionalFromJsonFunctionReference → Reference?
read-onlyinherited
optionalToJsonFunctionReference → Reference?
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toJsonFunctionReference → Reference?
read-onlyinherited
valueValueType ValueType<J, D>
final

Methods

asOptional({bool optional = true}) TypedJsonMapValueType<K, J, D>
override
convertFromJson(Map<String, dynamic>? value) Map<K, D>?
inherited
convertToJson(Map<K, D>? value) Map<String, dynamic>?
inherited
mandatoryFromJson(Map<String, dynamic> json) Map<K, D>
override
mandatoryToJson(Map<K, D> map) Map<String, J>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
optionalFromJson(Map<String, dynamic>? value) Map<K, D>?
inherited
optionalToJson(Map<K, D>? value) Map<String, dynamic>?
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited
updateDartTypeReference(TypeReferenceBuilder b) → void
override

Operators

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