getStringType static method

String getStringType(
  1. AuthType type
)

Get String name from Auth Type

Implementation

static String getStringType(AuthType type) {
  if (type == AuthType.guess) {
    return 'guess';
  } else if (type == AuthType.loggedIn) {
    return 'auth';
  } else {
    return 'undefined';
  }
}