createViewEvent static method

Future createViewEvent(
  1. String interactionId,
  2. Map<String, dynamic> properties
)

Creates a view event for interaction tracking asynchronously.

View events are used to track when users view specific content or interactions. This is useful for measuring engagement and content performance.

interactionId The ID of the interaction being viewed properties A map of additional properties for the view event Returns a Future<dynamic> that completes when the operation is done

Implementation

static Future<dynamic> createViewEvent(
  String interactionId,
  Map<String, dynamic> properties,
) {
  return BlueConicPlatform.instance.createViewEvent(
    interactionId,
    properties,
  );
}