toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (active != null) 'active': active!,
      if (advertiserFilter != null) 'advertiserFilter': advertiserFilter!,
      if (campaignFilter != null) 'campaignFilter': campaignFilter!,
      if (comments != null) 'comments': comments!,
      if (email != null) 'email': email!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (locale != null) 'locale': locale!,
      if (name != null) 'name': name!,
      if (siteFilter != null) 'siteFilter': siteFilter!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
      if (traffickerType != null) 'traffickerType': traffickerType!,
      if (userAccessType != null) 'userAccessType': userAccessType!,
      if (userRoleFilter != null) 'userRoleFilter': userRoleFilter!,
      if (userRoleId != null) 'userRoleId': userRoleId!,
    };