JsonDateTime class
JsonType for DateTime
- Inheritance
-
- Object
- PrimitieveJson<
DateTime> - JsonDateTime
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSet → bool
-
Returns if value is set. If is not setted and you call
value
getter it will throw a exception.no setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ DateTime
-
Return current primitive value of type
T
getter/setter pairinherited - valueOrNull → DateTime?
-
Returns its value or null if it is not defined yet
no setterinherited
Methods
-
delete(
) → void -
delete current value and set it to null
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
DateTime value) → void -
Set current primitive value of type
T
inherited -
setFromJson(
dynamic json) → bool -
Convert any given json to correspondig types and store it. If fails, it returns false.
inherited
-
toJson(
) → dynamic -
Convert object to json compatible types
override
-
toString(
) → String -
A string representation of this object.
inherited
-
tryParse(
dynamic source) → DateTime? -
Try to convert to value from any given json
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited