InputGameID.deserialize constructor

InputGameID.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputGameID.deserialize(BinaryReader reader) {
  // Read [InputGameID] fields.
  final id = reader.readInt64();
  final accessHash = reader.readInt64();

  // Construct [InputGameID] object.
  final returnValue = InputGameID(id: id, accessHash: accessHash);

  // Now return the deserialized [InputGameID].
  return returnValue;
}