toRebootOption method

RebootOption toRebootOption()

Implementation

RebootOption toRebootOption() {
  switch (this) {
    case 'RebootIfNeeded':
      return RebootOption.rebootIfNeeded;
    case 'NoReboot':
      return RebootOption.noReboot;
  }
  throw Exception('$this is not known in enum RebootOption');
}