toStopScope method

StopScope toStopScope()

Implementation

StopScope toStopScope() {
  switch (this) {
    case 'RuleSet':
      return StopScope.ruleSet;
  }
  throw Exception('$this is not known in enum StopScope');
}