createSpace method
Creates a space within this project.
final chars = await project.createSpace('characters');
final heroes = await project.createSpace('heroes', parentPath: '/$projectName/characters');
Implementation
Future<Space> createSpace(String spaceName, {String? parentPath}) async {
final baseParent = parentPath ?? '/$name';
final response = await client.createSpace(baseParent, spaceName);
return Space(response, client);
}