toBusinessReportStatus method
Implementation
BusinessReportStatus toBusinessReportStatus() {
switch (this) {
case 'RUNNING':
return BusinessReportStatus.running;
case 'SUCCEEDED':
return BusinessReportStatus.succeeded;
case 'FAILED':
return BusinessReportStatus.failed;
}
throw Exception('$this is not known in enum BusinessReportStatus');
}