toJson method

Map<String, dynamic> toJson()

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 (id != null) 'id': id!,
      if (index != null) 'index': index!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (parentLink != null) 'parentLink': parentLink!,
      if (scope != null) 'scope': scope!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
      if (webPropertyId != null) 'webPropertyId': webPropertyId!,
    };