toRelationalDatabasePasswordVersion method
Implementation
RelationalDatabasePasswordVersion toRelationalDatabasePasswordVersion() {
switch (this) {
case 'CURRENT':
return RelationalDatabasePasswordVersion.current;
case 'PREVIOUS':
return RelationalDatabasePasswordVersion.previous;
case 'PENDING':
return RelationalDatabasePasswordVersion.pending;
}
throw Exception(
'$this is not known in enum RelationalDatabasePasswordVersion');
}