shouldShowValuePropReminder method

Future<bool> shouldShowValuePropReminder({
  1. Duration? cooldown,
  2. int? maxAskCount,
})

Returns true if a value-proposition reminder should be shown.

See NotificationPermissionHelper.shouldShowValuePropReminder for edge-value semantics (Duration.zero, maxAskCount: 0/negative/null), the AppConfigBase fall-through behavior for nulls, and the divergence from AppConfigBase.notificationMaxAskCount.

Implementation

Future<bool> shouldShowValuePropReminder({
  Duration? cooldown,
  int? maxAskCount,
}) =>
    _permissionHelper.shouldShowValuePropReminder(
      cooldown: cooldown,
      maxAskCount: maxAskCount,
    );