InputTheme.deserialize constructor
InputTheme.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory InputTheme.deserialize(BinaryReader reader) {
// Read [InputTheme] fields.
final id = reader.readInt64();
final accessHash = reader.readInt64();
// Construct [InputTheme] object.
final returnValue = InputTheme(
id: id,
accessHash: accessHash,
);
// Now return the deserialized [InputTheme].
return returnValue;
}