toParameterApplyType method

ParameterApplyType toParameterApplyType()

Implementation

ParameterApplyType toParameterApplyType() {
  switch (this) {
    case 'static':
      return ParameterApplyType.static;
    case 'dynamic':
      return ParameterApplyType.dynamic;
  }
  throw Exception('$this is not known in enum ParameterApplyType');
}