toAutoRenew method
Implementation
AutoRenew toAutoRenew() {
switch (this) {
case 'ENABLED':
return AutoRenew.enabled;
case 'DISABLED':
return AutoRenew.disabled;
}
throw Exception('$this is not known in enum AutoRenew');
}
AutoRenew toAutoRenew() {
switch (this) {
case 'ENABLED':
return AutoRenew.enabled;
case 'DISABLED':
return AutoRenew.disabled;
}
throw Exception('$this is not known in enum AutoRenew');
}