clearAllAcceptedCredentialTermsUsers function
- BuildContext context
Clear all users who accepted the credential terms and conditions
Implementation
Future<bool> clearAllAcceptedCredentialTermsUsers(BuildContext context) {
final container = ProviderScope.containerOf(context);
final notifier =
container.read(acceptedCredentialTermsUsersProvider.notifier);
return notifier.setValue([]);
}