toTimeToLiveStatus method
Implementation
TimeToLiveStatus toTimeToLiveStatus() {
switch (this) {
case 'ENABLING':
return TimeToLiveStatus.enabling;
case 'DISABLING':
return TimeToLiveStatus.disabling;
case 'ENABLED':
return TimeToLiveStatus.enabled;
case 'DISABLED':
return TimeToLiveStatus.disabled;
}
throw Exception('$this is not known in enum TimeToLiveStatus');
}