createTimelineEvent static method
Creates a timeline event with a specific date and type asynchronously.
Timeline events allow you to record events that happened at specific points in time, which is useful for creating user journey timelines.
type The type of timeline event
date The date when the event occurred
properties A map of additional properties for the timeline event
Returns a Future<dynamic> that completes when the operation is done
Implementation
static Future<dynamic> createTimelineEvent(
String type,
DateTime date,
Map<String, dynamic> properties,
) {
return BlueConicPlatform.instance.createTimelineEvent(
type,
date,
properties,
);
}