toApplyMethod method

ApplyMethod toApplyMethod()

Implementation

ApplyMethod toApplyMethod() {
  switch (this) {
    case 'immediate':
      return ApplyMethod.immediate;
    case 'pending-reboot':
      return ApplyMethod.pendingReboot;
  }
  throw Exception('$this is not known in enum ApplyMethod');
}