projectExists method

Future<bool> projectExists(
  1. String id
)

Checks if a project with the given id already exists.

Implementation

Future<bool> projectExists(String id) async {
  final projects = await listProjects();
  return projects.contains(id);
}