layouHasEmail function

  1. @riverpod
bool layouHasEmail(
  1. Ref<Object?> ref
)

Whether Email is linked

Implementation

@riverpod
bool layouHasEmail(Ref ref) {
  final providers = ref.watch(layouLinkedProvidersProvider);
  return providers.contains('password');
}