toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case AuthenticationType.password:
      return 'password';
    case AuthenticationType.noPassword:
      return 'no-password';
  }
}