DocumentEmpty.deserialize constructor

DocumentEmpty.deserialize(
  1. 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;
}