onDidReceiveLocalNotification static method

Future onDidReceiveLocalNotification(
  1. int id,
  2. String? title,
  3. String? body,
  4. String? payload,
)

Implementation

static Future onDidReceiveLocalNotification(
    int id, String? title, String? body, String? payload) async {
  print(title);
}