createTimelineEventById static method

Future createTimelineEventById(
  1. String id,
  2. String type,
  3. DateTime date,
  4. Map<String, dynamic> properties,
)

Creates a timeline event with a specific ID, date, and type asynchronously.

This method allows you to create timeline events with custom IDs, which can be useful for updating or referencing specific events later.

id The unique ID for the timeline event 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> createTimelineEventById(
  String id,
  String type,
  DateTime date,
  Map<String, dynamic> properties,
) {
  return BlueConicPlatform.instance.createTimelineEventById(
    id,
    type,
    date,
    properties,
  );
}