registerInAppCallbacks method

void registerInAppCallbacks({
  1. required List<InAppCallback> inAppCallbacks,
})

Registers a list of InAppCallback instances to handle clicks and dismiss.

This method allows you to register one or more of the following callbacks:

inAppCallbacks is a required list of InAppCallback instances to be registered for handling in-app message events.

If this method is not called, a default behavior will be implemented. The default behavior will open the link from the 'redirectUrl' parameter and copy the payload to the clipboard if it is not in JSON or XML format.

Implementation

void registerInAppCallbacks({required List<InAppCallback> inAppCallbacks}) =>
    throw UnimplementedError(
        'registerInAppCallbacks() has not been implemented.');