skip to Main Content

How to create an AutoDisposeAsyncNotifierProviderFamily in Riverpod? – Flutter

As the question implies, I am trying to create an AutoDisposeAsyncNotifierProviderFamily. I currently have this: final participantProvider = AsyncNotifierProvider.autoDispose.family< ParticipantNotifier, Map<String, List<String>>, String >((ref, id) => ParticipantNotifier(id)); class ParticipantNotifier extends AsyncNotifier<Map<String, List<String>>> { ParticipantNotifier(this.id); final String id; @override FutureOr<Map<String, List<String>>>…

VIEW QUESTION
Back To Top
Search