hasEmail function

bool hasEmail(
  1. List<AuthMethod> methods
)

Implementation

bool hasEmail(List<AuthMethod> methods) {
  return methods.any((element) => element.getName() == 'email');
}