InputNotifyPeer.deserialize constructor

InputNotifyPeer.deserialize(
  1. 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;
}