AccountResetWebAuthorization.deserialize constructor

AccountResetWebAuthorization.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountResetWebAuthorization.deserialize(BinaryReader reader) {
  // Read [AccountResetWebAuthorization] fields.
  final hash = reader.readInt64();

  // Construct [AccountResetWebAuthorization] object.
  final returnValue = AccountResetWebAuthorization(
    hash: hash,
  );

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