toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (companyTypeId != null) {
    _json[r'CompanyTypeId'] = companyTypeId;
  } else {
    _json[r'CompanyTypeId'] = null;
  }
  if (companyType != null) {
    _json[r'CompanyType'] = companyType;
  } else {
    _json[r'CompanyType'] = null;
  }
  if (channelId != null) {
    _json[r'ChannelId'] = channelId;
  } else {
    _json[r'ChannelId'] = null;
  }
  if (channel != null) {
    _json[r'Channel'] = channel;
  } else {
    _json[r'Channel'] = null;
  }
  return _json;
}