save method

Future<void> save(
  1. String? eventlogId,
  2. VideoTriggerEvent event
)

save this event you have to call send to store this in remote server

Implementation

Future<void> save(
  String? eventlogId,
  VideoTriggerEvent event,
) async {
  if (eventlogId == null || eventlogId.isEmpty) {
    return;
  }
  _resultEvents.putIfAbsent(eventlogId, () => []);
  _resultEvents[eventlogId]!.add(event);
}