HandlePushClickCallback typedef

HandlePushClickCallback = void Function(bool? status, Exception? error)

Callback function type for push notification click reporting.

Defines the signature for a callback function that handles the result of reporting a push notification tap to count a campaign click.

Arguments:

  • status: A boolean indicating whether the tap was reported successfully.
  • error: An Exception object if an error occurred.

Implementation

typedef HandlePushClickCallback = void Function(bool? status, Exception? error);