onDismissActionReceivedMethod static method

Future<void> onDismissActionReceivedMethod(
  1. ReceivedAction receivedAction
)

Use this method to detect if the user dismissed a notification

Implementation

@pragma("vm:entry-point")
static Future<void> onDismissActionReceivedMethod(
    ReceivedAction receivedAction) async {
  // Your code goes here
  if (kDebugMode) {
    print("onDismissActionReceivedMethod");
  }
}