createEvent static method

Future createEvent(
  1. String name,
  2. Map<String, String> properties
)

Creates a custom event with the specified name and properties asynchronously.

Custom events allow you to track specific user actions or behaviors that are important for your business logic or analytics.

name The name of the event to create properties A map of event properties and their values Returns a Future<dynamic> that completes when the operation is done

Implementation

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