runOnResponse static method
Future<UnifiedResponse>
runOnResponse(
- UnifiedResponse response,
- List<
UnifiedInterceptor> interceptors
Implementation
static Future<UnifiedResponse> runOnResponse(
UnifiedResponse response,
List<UnifiedInterceptor> interceptors,
) async {
var current = response;
for (final interceptor in interceptors) {
current = await interceptor.onResponse(current);
}
return current;
}