Ping.deserialize constructor
Ping.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory Ping.deserialize(BinaryReader reader) {
// Read [Ping] fields.
final pingId = reader.readInt64();
// Construct [Ping] object.
final returnValue = Ping(
pingId: pingId,
);
// Now return the deserialized [Ping].
return returnValue;
}