toBuildStatus method

BuildStatus toBuildStatus()

Implementation

BuildStatus toBuildStatus() {
  switch (this) {
    case 'INITIALIZED':
      return BuildStatus.initialized;
    case 'READY':
      return BuildStatus.ready;
    case 'FAILED':
      return BuildStatus.failed;
  }
  throw Exception('$this is not known in enum BuildStatus');
}