toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (accountId != null) 'accountId': accountId!,
  if (childLink != null) 'childLink': childLink!,
  if (created != null) 'created': created!.toUtc().toIso8601String(),
  if (dataRetentionResetOnNewActivity != null)
    'dataRetentionResetOnNewActivity': dataRetentionResetOnNewActivity!,
  if (dataRetentionTtl != null) 'dataRetentionTtl': dataRetentionTtl!,
  if (defaultProfileId != null) 'defaultProfileId': defaultProfileId!,
  if (id != null) 'id': id!,
  if (industryVertical != null) 'industryVertical': industryVertical!,
  if (internalWebPropertyId != null)
    'internalWebPropertyId': internalWebPropertyId!,
  if (kind != null) 'kind': kind!,
  if (level != null) 'level': level!,
  if (name != null) 'name': name!,
  if (parentLink != null) 'parentLink': parentLink!,
  if (permissions != null) 'permissions': permissions!,
  if (profileCount != null) 'profileCount': profileCount!,
  if (selfLink != null) 'selfLink': selfLink!,
  if (starred != null) 'starred': starred!,
  if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
  if (websiteUrl != null) 'websiteUrl': websiteUrl!,
};