toAutoRenew method

AutoRenew toAutoRenew()

Implementation

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