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 (description != null) 'description': description!,
      if (id != null) 'id': id!,
      if (importBehavior != null) 'importBehavior': importBehavior!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (parentLink != null) 'parentLink': parentLink!,
      if (profilesLinked != null) 'profilesLinked': profilesLinked!,
      if (schema != null) 'schema': schema!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (type != null) 'type': type!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
      if (uploadType != null) 'uploadType': uploadType!,
      if (webPropertyId != null) 'webPropertyId': webPropertyId!,
    };