AccountGetTheme.deserialize constructor
AccountGetTheme.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory AccountGetTheme.deserialize(BinaryReader reader) {
// Read [AccountGetTheme] fields.
final format = reader.readString();
final theme = reader.readObject() as InputThemeBase;
// Construct [AccountGetTheme] object.
final returnValue = AccountGetTheme(format: format, theme: theme);
// Now return the deserialized [AccountGetTheme].
return returnValue;
}