dio_firebase_performance: ^0.2.0 copied to clipboard
A new Flutter package project.
Dio's Interceptor implementation that sends http request metric data to Firebase.
STATUS: works for us in production.
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.