DocumentEmpty.deserialize constructor
DocumentEmpty.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory DocumentEmpty.deserialize(BinaryReader reader) {
// Read [DocumentEmpty] fields.
final id = reader.readInt64();
// Construct [DocumentEmpty] object.
final returnValue = DocumentEmpty(id: id);
// Now return the deserialized [DocumentEmpty].
return returnValue;
}