setOnReferralHandler method

void setOnReferralHandler(
  1. dynamic callback
)

Implementation

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

  _channel.invokeMethod("setOnReferralHandler");

  this._onReferralHandler = callback;
}