NotificationService class

Web stub for NotificationService.

On web, flutter_local_notifications is unavailable. This no-op stub is resolved via conditional import so that the native implementation is never compiled into the JS bundle.

Constructors

NotificationService()

Properties

hashCode → int
The hash code for this object.
no setterinherited
initialized → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel(int id) → Future<void>
cancelAll() → Future<void>
initialize() → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission() → Future<bool>
scheduleDailyReminder({required int hour, required int minute, required int dueCardCount}) → Future<void>
scheduleOverdueWarning({required DateTime nextReviewDate, required int thresholdDays}) → Future<void>
scheduleStreakAlert({required int currentStreak}) → Future<void>
showFromPush({required String title, required String body, String? route}) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited