toJson method

  1. @override
Map<String, dynamic> toJson()
override

The message payload (the envelope d field), without the type or channel.

Implementation

@override
Map<String, dynamic> toJson() => {if (filter.isNotEmpty) 'filter': filter};