createNotification abstract method
Creates an immediate notification with id, title, and body.
If the id is not specified, a random id will be generated.
When tapped, payload is emitted on notificationTaps.
Returns the id of the notification created.
Implementation
Future<int> createNotification({int? id, required String title, String? body, String? payload});