DidReceiveLocalNotificationCallback typedef

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

Signature of the callback that is triggered when a notification is shown whilst the app is in the foreground.

This property is only applicable to iOS versions older than 10.

Implementation

typedef DidReceiveLocalNotificationCallback = Future<dynamic> Function(
    int id, String title, String body, String payload);