toChangeStatus method
Implementation
ChangeStatus toChangeStatus() {
switch (this) {
case 'PREPARING':
return ChangeStatus.preparing;
case 'APPLYING':
return ChangeStatus.applying;
case 'SUCCEEDED':
return ChangeStatus.succeeded;
case 'CANCELLED':
return ChangeStatus.cancelled;
case 'FAILED':
return ChangeStatus.failed;
}
throw Exception('$this is not known in enum ChangeStatus');
}