AccountGetPrivacy.deserialize constructor

AccountGetPrivacy.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountGetPrivacy.deserialize(BinaryReader reader) {
  // Read [AccountGetPrivacy] fields.
  final key = reader.readObject() as InputPrivacyKeyBase;

  // Construct [AccountGetPrivacy] object.
  final returnValue = AccountGetPrivacy(
    key: key,
  );

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