toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (audienceDefinition != null)
'audienceDefinition': audienceDefinition!,
if (audienceType != null) 'audienceType': audienceType!,
if (created != null) 'created': created!.toUtc().toIso8601String(),
if (description != null) 'description': description!,
if (id != null) 'id': id!,
if (internalWebPropertyId != null)
'internalWebPropertyId': internalWebPropertyId!,
if (kind != null) 'kind': kind!,
if (linkedAdAccounts != null) 'linkedAdAccounts': linkedAdAccounts!,
if (linkedViews != null) 'linkedViews': linkedViews!,
if (name != null) 'name': name!,
if (stateBasedAudienceDefinition != null)
'stateBasedAudienceDefinition': stateBasedAudienceDefinition!,
if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
if (webPropertyId != null) 'webPropertyId': webPropertyId!,
};