ComplexValueType<J, D> class Null safety

Inheritance
Implementers
Available Extensions

Constructors

ComplexValueType({required bool optional, D? defaultValue})
const

Properties

dartTypeReference → Reference
read-onlyoverride
defaultValue → D?
final
fromJsonFunctionReference → Reference?
read-onlyoverride
hashCode int
The hash code for this object.
read-onlyoverride
mandatoryFromJsonFunctionReference → Reference?
read-only
mandatoryToJsonFunctionReference → Reference?
read-only
name String
read-onlyinherited
optional bool
final
optionalFromJsonFunctionReference → Reference?
read-only
optionalToJsonFunctionReference → Reference?
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
toJsonFunctionReference → Reference?
read-onlyoverride

Methods

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

Operators

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