toSyncExecutionStatus method
Implementation
SyncExecutionStatus toSyncExecutionStatus() {
switch (this) {
case 'SUCCEEDED':
return SyncExecutionStatus.succeeded;
case 'FAILED':
return SyncExecutionStatus.failed;
case 'TIMED_OUT':
return SyncExecutionStatus.timedOut;
}
throw Exception('$this is not known in enum SyncExecutionStatus');
}