ChannelsSetMainProfileTab.deserialize constructor
ChannelsSetMainProfileTab.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChannelsSetMainProfileTab.deserialize(BinaryReader reader) {
// Read [ChannelsSetMainProfileTab] fields.
final channel = reader.readObject() as InputChannelBase;
final tab = reader.readObject() as ProfileTabBase;
// Construct [ChannelsSetMainProfileTab] object.
final returnValue = ChannelsSetMainProfileTab(channel: channel, tab: tab);
// Now return the deserialized [ChannelsSetMainProfileTab].
return returnValue;
}