toDatabaseEngineType method
Implementation
DatabaseEngineType toDatabaseEngineType() {
switch (this) {
case 'RDS_AURORA_MYSQL':
return DatabaseEngineType.rdsAuroraMysql;
case 'RDS_AURORA_POSTGRESQL':
return DatabaseEngineType.rdsAuroraPostgresql;
case 'RDS_MYSQL':
return DatabaseEngineType.rdsMysql;
case 'RDS_POSTGRESQL':
return DatabaseEngineType.rdsPostgresql;
}
throw Exception('$this is not known in enum DatabaseEngineType');
}