uriParameter property

String uriParameter

The value of the identity_provider URI parameter.

Reference

Implementation

String get uriParameter {
  switch (this) {
    case google:
      return 'Google';
    case facebook:
      return 'Facebook';
    case amazon:
      return 'LoginWithAmazon';
    case apple:
      return 'SignInWithApple';
    case cognito:
      return 'COGNITO';
  }
  return name;
}