dio_firebase_performance 0.3.1-dev.2 dio_firebase_performance: ^0.3.1-dev.2 copied to clipboard
A new Flutter package project.
Description #
Dio's Interceptor implementation that sends http request metric data to Firebase.
STATUS: works for us in production.
Usage #
final dio = Dio();
final performanceInterceptor = DioFirebasePerformanceInterceptor();
dio.interceptors.add(performanceInterceptor);
SUGGESTION: If you use dio client as a singleton you can use this interceptor as singleton as well.