DateValueType class Null safety
- Inheritance
-
- Object
- ValueType<
String, DateTime> - ComplexValueType<
String, DateTime> - TimestampValueType<
String> - DateValueType
- Available Extensions
Constructors
- DateValueType({required bool optional, DateTime? defaultValue})
-
const
Properties
- dartTypeReference → Reference
-
read-onlyinherited
- defaultValue → DateTime?
-
finalinherited
- fromJsonFunctionReference → Reference?
-
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- mandatoryFromJsonFunctionReference → Reference
-
read-onlyoverride
- mandatoryToJsonFunctionReference → Reference
-
read-onlyoverride
- name → String
-
read-onlyoverride
- optional → bool
-
finalinherited
- optionalFromJsonFunctionReference → Reference
-
read-onlyoverride
- optionalToJsonFunctionReference → Reference
-
read-onlyoverride
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- toJsonFunctionReference → Reference?
-
read-onlyinherited
Methods
-
asOptional(
{bool optional = true}) → DateValueType -
override
-
convertFromJson(
String? value) → DateTime? -
inherited
-
convertToJson(
DateTime? value) → String? -
inherited
-
mandatoryFromJson(
String dateString) → DateTime -
override
-
mandatoryToJson(
DateTime dateTime) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
optionalFromJson(
String? dateString) → DateTime? -
override
-
optionalToJson(
DateTime? dateTime) → String? -
override
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDartTypeReference(
TypeReferenceBuilder b) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited