toProcessBehavior method

ProcessBehavior toProcessBehavior()

Implementation

ProcessBehavior toProcessBehavior() {
  switch (this) {
    case 'SAVE':
      return ProcessBehavior.save;
    case 'BUILD':
      return ProcessBehavior.build;
  }
  throw Exception('$this is not known in enum ProcessBehavior');
}