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