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 (advertiserId != null) 'advertiserId': advertiserId!,
      if (advertiserIdDimensionValue != null)
        'advertiserIdDimensionValue': advertiserIdDimensionValue!,
      if (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (lifeSpan != null) 'lifeSpan': lifeSpan!,
      if (listPopulationRule != null)
        'listPopulationRule': listPopulationRule!,
      if (listSize != null) 'listSize': listSize!,
      if (listSource != null) 'listSource': listSource!,
      if (name != null) 'name': name!,
      if (subaccountId != null) 'subaccountId': subaccountId!,
    };