modifyRequest<T> method
Implementation
Future<Request<T>> modifyRequest<T>(Request<T> request) async {
var newRequest = request;
if (_requestModifiers.isNotEmpty) {
for (var interceptor in _requestModifiers) {
newRequest = await interceptor(newRequest) as Request<T>;
}
}
return newRequest;
}