onDidReceiveLocalNotification method

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

Implementation

void onDidReceiveLocalNotification(
    int id, String? title, String? body, String? payload) {
  if (kDebugMode) {
    print('id $id');
  }
}