sendEvent method

  1. @override
Future<void> sendEvent({
  1. required Event event,
})
override

Implementation

@override
Future<void> sendEvent({required Event event}) async {
  final payload = eventToJson(event);
  _postRequest(endpoint: '$version/events/newEvent/', payload: payload);
}