AccountGetThemes.deserialize constructor

AccountGetThemes.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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