createSpace method

Future<Space> createSpace(
  1. String spaceName
)

Creates a new subspace within this space.

Returns the high-level Space wrapper for the newly-created node.

final models = await assets.createSpace('models');

Implementation

Future<Space> createSpace(String spaceName) async {
  final response = await client.createSpace(path, spaceName);
  return Space(response, client);
}