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');
}