DateTimeExtension class

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.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type int
The type code
finalinherited

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 nonexistent 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