toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (groupId != null) {
    _json[r'group_id'] = groupId;
  }
  if (channelMemberCount != null) {
    _json[r'channel_member_count'] = channelMemberCount;
  }
  if (channelMemberTimezonesCount != null) {
    _json[r'channel_member_timezones_count'] = channelMemberTimezonesCount;
  }
  return _json;
}