newProject method

Future<Project> newProject(
  1. String name, {
  2. String description = '',
})

Creates a new project and returns a Project model.

final project = await client.newProject('film-2024', description: 'VFX assets');
final chars = await project.createSpace('characters');

Implementation

Future<models.Project> newProject(
  String name, {
  String description = '',
}) async {
  final response = await createProject(name, description: description);
  return models.Project(response, this);
}