toLastUpdateStatus method
Implementation
LastUpdateStatus toLastUpdateStatus() {
switch (this) {
case 'Successful':
return LastUpdateStatus.successful;
case 'Failed':
return LastUpdateStatus.failed;
case 'InProgress':
return LastUpdateStatus.inProgress;
}
throw Exception('$this is not known in enum LastUpdateStatus');
}