utils/api/api_helpers library

Functions

fetchExperimentRequest({required String token, required String uniqueId, required String? userId}) Future<FormattedExperimentApiResponse?>
fetchSdkConfig(String token) Future<SdkConfig>
getAuthHeaders(String token, {dynamic cache = true}) Future<Map<String, String>>
sendCommunicationCaptureRequest(List<CommunicationRequest> commRequest, String token) Future<Response>
sendEventRequest(List<EventRequest> eventRequest, String token) Future<Response>
sendUserRequest(UserRequest userRequest, String token) Future<Response>