handlePush method

Future<bool> handlePush(
  1. Map<String, String> payload
)

Let the SDK handle an incoming push payload.

This method should be called when your app receives a push notification that might be related to Dimelo messaging.

Parameters:

  • payload - The push notification payload

Returns true if the payload was consumed by Dimelo, false otherwise.

Implementation

Future<bool> handlePush(Map<String, String> payload) {
  throw UnimplementedError('handlePush() has not been implemented.');
}