toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (entity != null) 'entity': entity!,
      if (id != null) 'id': id!,
      if (kind != null) 'kind': kind!,
      if (permissions != null) 'permissions': permissions!,
      if (selfLink != null) 'selfLink': selfLink!,
      if (userRef != null) 'userRef': userRef!,
    };