toProjectStatus method

ProjectStatus toProjectStatus()

Implementation

ProjectStatus toProjectStatus() {
  switch (this) {
    case 'CREATING':
      return ProjectStatus.creating;
    case 'CREATED':
      return ProjectStatus.created;
    case 'DELETING':
      return ProjectStatus.deleting;
  }
  throw Exception('$this is not known in enum ProjectStatus');
}