isFreshchatNotification static method

Future<bool> isFreshchatNotification(
  1. Map pushPayload
)

Check if the notification received with the provided intent is a Freshchat notification or not (Android)

Implementation

static Future<bool> isFreshchatNotification(Map pushPayload) async {
  bool isFreshchatNotification =
  await _channel.invokeMethod("isFreshchatNotification", <String, Map>{
    'pushPayload': pushPayload,
  });
  return isFreshchatNotification;
}