toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (advancedDetails != null) 'advancedDetails': advancedDetails!,
      if (created != null) 'created': created!.toUtc().toIso8601String(),
      if (excludeDetails != null) 'excludeDetails': excludeDetails!,
      if (id != null) 'id': id!,
      if (includeDetails != null) 'includeDetails': includeDetails!,
      if (kind != null) 'kind': kind!,
      if (lowercaseDetails != null) 'lowercaseDetails': lowercaseDetails!,
      if (name != null) 'name': name!,
      if (parentLink != null) 'parentLink': parentLink!,
      if (searchAndReplaceDetails != null)
        'searchAndReplaceDetails': searchAndReplaceDetails!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (type != null) 'type': type!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
      if (uppercaseDetails != null) 'uppercaseDetails': uppercaseDetails!,
    };