toDocumentParameterType method
Implementation
DocumentParameterType toDocumentParameterType() {
switch (this) {
case 'String':
return DocumentParameterType.string;
case 'StringList':
return DocumentParameterType.stringList;
}
throw Exception('$this is not known in enum DocumentParameterType');
}