toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RelationalDatabasePasswordVersion.current:
      return 'CURRENT';
    case RelationalDatabasePasswordVersion.previous:
      return 'PREVIOUS';
    case RelationalDatabasePasswordVersion.pending:
      return 'PENDING';
  }
}