toParameterType method

ParameterType toParameterType()

Implementation

ParameterType toParameterType() {
  switch (this) {
    case 'String':
      return ParameterType.string;
    case 'StringList':
      return ParameterType.stringList;
    case 'SecureString':
      return ParameterType.secureString;
  }
  throw Exception('$this is not known in enum ParameterType');
}