DateTimeExtension class Null safety

Datetime extension for msgpack

Inheritance

Constructors

DateTimeExtension()
Builds a DateTimeExtension with type code equal to datetimeType
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type int
The type code
final, inherited

Methods

doRead(MsgPackReader reader) → dynamic
Reads the serialized representation of an object [...]
override
doWrite(MsgPackWriter writer, dynamic object) bool
Writes the object to the provided MsgPackWriter writer [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read(int targetType, Uint8List bytes) → dynamic
Tries to read targetType code using the current extension [...]
inherited
toString() String
A string representation of this object. [...]
inherited
write(MsgPackWriter writer, dynamic object) bool
Appends to a MsgPackWriter provided writer the object as a extension. [...]
inherited

Operators

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

Constants

datetimeType → const int
Datetime type code
1