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