toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (channel != null) {
    _json[r'channel'] = channel;
  }
  if (member != null) {
    _json[r'member'] = member;
  }
  return _json;
}