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