ReservationDateTimeConverter class

Converts a DateTime to a string in the format 'yyyy-MM-dd' and vice versa.

Inheritance

Constructors

ReservationDateTimeConverter()
Converts a DateTime to a string in the format 'yyyy-MM-dd' and vice versa.
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

deserialize(String data) DateTime
Deserializes the given data into a Deserialized object.
override
fromJson(String json) DateTime
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(DateTime data) String
Serializes the given data into a Serialized object.
override
toJson(DateTime object) String
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited