upsertEvent abstract method
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,
});