onDismissActionReceivedMethod static method
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");
}
}