UpdateNotifySettings.deserialize constructor
UpdateNotifySettings.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UpdateNotifySettings.deserialize(BinaryReader reader) {
// Read [UpdateNotifySettings] fields.
final peer = reader.readObject() as NotifyPeerBase;
final notifySettings = reader.readObject() as PeerNotifySettingsBase;
// Construct [UpdateNotifySettings] object.
final returnValue = UpdateNotifySettings(
peer: peer,
notifySettings: notifySettings,
);
// Now return the deserialized [UpdateNotifySettings].
return returnValue;
}