upsertEvent abstract method

Future<String> upsertEvent(
  1. UnicalEvent event, {
  2. String? ref,
  3. Map<String, String> xProps,
})

Creates or updates event. Pass ref to update an existing object and xProps to attach invisible metadata (ignored by backends that cannot preserve them). Returns the backend ref.

Implementation

Future<String> upsertEvent(
  UnicalEvent event, {
  String? ref,
  Map<String, String> xProps,
});