HelpGetCountriesList.deserialize constructor

HelpGetCountriesList.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory HelpGetCountriesList.deserialize(BinaryReader reader) {
  // Read [HelpGetCountriesList] fields.
  final langCode = reader.readString();
  final hash = reader.readInt32();

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

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