The message payload (the envelope d field), without the type or channel.
d
@override Map<String, dynamic> toJson() => {if (filter.isNotEmpty) 'filter': filter};