ValueType<J, D> class Null safety

Implementers
Available Extensions

Constructors

ValueType()
const

Properties

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

Methods

asOptional({bool optional = true}) ValueType<J, D>
convertFromJson(J? value) → D?
convertToJson(D? value) → J?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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