toRequiresRecreation method

RequiresRecreation toRequiresRecreation()

Implementation

RequiresRecreation toRequiresRecreation() {
  switch (this) {
    case 'NEVER':
      return RequiresRecreation.never;
    case 'CONDITIONALLY':
      return RequiresRecreation.conditionally;
    case 'ALWAYS':
      return RequiresRecreation.always;
  }
  throw Exception('$this is not known in enum RequiresRecreation');
}