UpdateShort.deserialize constructor
UpdateShort.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UpdateShort.deserialize(BinaryReader reader) {
// Read [UpdateShort] fields.
final update = reader.readObject() as UpdateBase;
final date = reader.readDateTime();
// Construct [UpdateShort] object.
final returnValue = UpdateShort(
update: update,
date: date,
);
// Now return the deserialized [UpdateShort].
return returnValue;
}