DateTimeExtension class Null safety
Datetime extension for msgpack
- Inheritance
- Object
- MsgPackExtension
- DateTimeExtension
Constructors
- DateTimeExtension()
-
Builds a DateTimeExtension with type code equal to datetimeType
const
Properties
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 MsgPackWriterwriter
[...]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
theobject
as a extension. [...]inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Constants
- datetimeType → const int
-
Datetime type code
1