toParameterType method

ParameterType toParameterType()

Implementation

ParameterType toParameterType() {
  switch (this) {
    case 'DEFAULT':
      return ParameterType.$default;
    case 'NODE_TYPE_SPECIFIC':
      return ParameterType.nodeTypeSpecific;
  }
  throw Exception('$this is not known in enum ParameterType');
}