Map<String, Object?> toJson() => { 'channel': channel, 'headSeq': headSeq, 'lastDeliveredSeq': lastDeliveredSeq, };