ProxyResponse constructor

const ProxyResponse({
  1. required int statusCode,
  2. Map<String, String> headers = const {},
  3. String body = '',
  4. bool cached = false,
  5. Duration latency = Duration.zero,
})

Implementation

const ProxyResponse({
  required this.statusCode,
  this.headers = const {},
  this.body = '',
  this.cached = false,
  this.latency = Duration.zero,
});