toStatementType method
Implementation
StatementType toStatementType() {
switch (this) {
case 'DDL':
return StatementType.ddl;
case 'DML':
return StatementType.dml;
case 'UTILITY':
return StatementType.utility;
}
throw Exception('$this is not known in enum StatementType');
}