toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (childLink != null) 'childLink': childLink!,
      if (created != null) 'created': created!.toUtc().toIso8601String(),
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (name != null) 'name': name!,
      if (permissions != null) 'permissions': permissions!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (starred != null) 'starred': starred!,
      if (updated != null) 'updated': updated!.toUtc().toIso8601String(),
    };