containsIdPassword function

bool containsIdPassword({
  1. required List<LoginType> supportedAuthMechanisms,
})

Implementation

bool containsIdPassword({required List<LoginType> supportedAuthMechanisms}) {
  return supportedAuthMechanisms.contains(LoginType.PHONE_PASSWORD) ||
      supportedAuthMechanisms.contains(LoginType.EMAIL_PASSWORD) ||
      supportedAuthMechanisms.contains(LoginType.USERNAME_PASSWORD);
}