setOnNotificationOpenedHandler method

void setOnNotificationOpenedHandler(
  1. dynamic callback
)

Implementation

void setOnNotificationOpenedHandler(dynamic callback) {
  if (callback == null) {
    print("Callback parameter in setOnNotificationOpenedHandler method is required.");
    return;
  }

  _channel.invokeMethod("setOnNotificationOpenedHandler");

  this._onNotificationOpenedHandler = callback;
}