scheduleNotification method
Schedule a notification with id
, title
, and body
at the schedule
time.
If the id
is not specified, a random id will be generated.
Returns the id of the notification created.
Implementation
@override
Future<int> scheduleNotification(
{int? id,
required String title,
String? body,
required DateTime schedule}) async =>
0;