toJson method
Implementation
@override
Map<String, Object?> toJson() => {
'type': 'poke',
'channel': channel,
'seq': seq,
'previousSeq': previousSeq,
'eventId': eventId,
'recordId': recordId,
'version': version,
'changeType': changeType.wire,
'occurredAt': occurredAt,
'subscriptions': subscriptions.map((item) => item.toJson()).toList(),
'reason': reason.wire,
};