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