NumberValueType<T extends num> class
Null safety
- Inheritance
-
- Object
- ValueType<
T, T> - ComplexValueType<
T, T> - NativeValueType<
T> - NumberValueType
- Implementers
- Available Extensions
Constructors
- NumberValueType({required bool optional, T? defaultValue})
-
const
Properties
- dartTypeReference → Reference
-
read-onlyinherited
- defaultValue → T?
-
finalinherited
- fromJsonFunctionReference → Reference?
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- 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
Methods
-
asOptional(
{bool optional = true}) → NumberValueType< T> -
override
-
convertFromJson(
T? value) → T? -
inherited
-
convertToJson(
T? value) → T? -
inherited
-
mandatoryFromJson(
T value) → T -
inherited
-
mandatoryToJson(
T value) → T -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
optionalFromJson(
T? value) → T? -
inherited
-
optionalToJson(
T? value) → T? -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDartTypeReference(
TypeReferenceBuilder b) → void -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited