toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (accountId != null) 'accountId': accountId!,
if (active != null) 'active': active!,
if (created != null) 'created': created!.toUtc().toIso8601String(),
if (eventDetails != null) 'eventDetails': eventDetails!,
if (id != null) 'id': id!,
if (internalWebPropertyId != null)
'internalWebPropertyId': internalWebPropertyId!,
if (kind != null) 'kind': kind!,
if (name != null) 'name': name!,
if (parentLink != null) 'parentLink': parentLink!,
if (profileId != null) 'profileId': profileId!,
if (selfLink != null) 'selfLink': selfLink!,
if (type != null) 'type': type!,
if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
if (urlDestinationDetails != null)
'urlDestinationDetails': urlDestinationDetails!,
if (value != null) 'value': value!,
if (visitNumPagesDetails != null)
'visitNumPagesDetails': visitNumPagesDetails!,
if (visitTimeOnSiteDetails != null)
'visitTimeOnSiteDetails': visitTimeOnSiteDetails!,
if (webPropertyId != null) 'webPropertyId': webPropertyId!,
};