getSpace method
Gets the space containing this artifact's item as a Space model.
final space = await artifact.getSpace();
print(space.path);
Implementation
Future<Space> getSpace() async {
final item = await getItem();
return item.getSpace();
}