DateTimeCast class final
Reads and writes DateTime values in UTC.
Constructors
- DateTimeCast()
-
The datetime cast; use Cast.dateTime.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get(
Object? raw) → Object? -
The attribute value for the raw database value
raw.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
Object? value) → Object? -
The database value for the attribute
value.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited