toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['subscribe'] = _subscribe;
map['stats'] = _stats;
map['publish'] = _publish;
map['record'] = _record;
map['controlhandlers'] = _controlhandlers;
return map;
}