postEvent method

Future<void> postEvent (String event, Map<String, dynamic> attributes)

Post events for In-App Messages. This can trigger In-App message HTML as specified in Pushwoosh Control Panel. event is string name of the event attributes is map contains additional event attributes

Implementation

Future<void> postEvent(String event, Map<String, dynamic> attributes) async {
  await _channel.invokeMethod("postEvent", [event, attributes]);
}