getSpace method
- String relativePath
Gets a space by path relative to this project.
final chars = await project.getSpace('characters');
final heroes = await project.getSpace('characters/heroes');
Implementation
Future<Space> getSpace(String relativePath) async {
final fullPath = '/$name/$relativePath';
final response = await client.getSpace(fullPath);
return Space(response, client);
}