space property
Gets the parent space of this item.
Returns the Space model for the kref path. The returned object is the high-level wrapper, not the protobuf payload.
final parentSpace = await item.space;
Implementation
Future<dynamic> get space async {
final path = '/${kref.project}${spacePath.isEmpty ? '' : '/$spacePath'}';
return client.getSpace(path);
}