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