ModelTimestampConverter class
ModelFieldValueConverter to enable automatic conversion of ModelTimestamp as ModelFieldValue.
ModelTimestampをModelFieldValueとして自動変換できるようにするためのModelFieldValueConverter。
- Inheritance
-
- Object
- ModelFieldValueConverter<
ModelTimestamp> - ModelTimestampConverter
- Annotations
Constructors
- ModelTimestampConverter()
-
ModelFieldValueConverter to enable automatic conversion of ModelTimestamp as ModelFieldValue.
const
Properties
Methods
-
check(
Object? value) → bool -
Returns
true
if the givenvalue
type matches type.inherited -
fromJson(
Map< String, Object?> map) → ModelTimestamp -
Converts
map
decoded from Json toT
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
ModelTimestamp value) → Map< String, Object?> -
Convert
T
values to Map that can be encoded in Json.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited