AuthExportAuthorization.deserialize constructor

AuthExportAuthorization.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AuthExportAuthorization.deserialize(BinaryReader reader) {
  // Read [AuthExportAuthorization] fields.
  final dcId = reader.readInt32();

  // Construct [AuthExportAuthorization] object.
  final returnValue = AuthExportAuthorization(dcId: dcId);

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