setForever static method

Future<LongTimeNoNotification> setForever({
  1. required String id,
})

Prevent the notification of the target ID from being displayed forever.

Implementation

static Future<LongTimeNoNotification> setForever({required String id}) async {
  return LongTimeNoNotificationDelegate.set(
    id: id,
    currentDateTime: DateTime.now(),
    repository: _repository,
  );
}