supportsAuth method Null safety

bool supportsAuth(
  1. AuthMechanism authMechanism
)

Checks of the specified authMechanism is supported.

Implementation

bool supportsAuth(AuthMechanism authMechanism) {
  return authMechanisms.contains(authMechanism);
}