currentNotificationModeProvider top-level property

dynamic currentNotificationModeProvider
final

Implementation

final currentNotificationModeProvider = FutureProvider.autoDispose
    .family<String, NotificationConfiguration>((ref, config) async {
  final settings = await ref.watch(notificationSettingsProvider.future);
  return await settings.defaultNotificationMode(
    config.encrypted,
    config.oneToOne,
  );
});