doRead method
Reads the serialized representation of an object
reader
: The MsgPackReader that should be used to read the object extension
Returns the object after successful deserialization
Implementation
@override
dynamic doRead(MsgPackReader reader) {
return DateTime.parse(reader.read());
}