HttpResponse<T> constructor

const HttpResponse<T>({
  1. int? statusCode,
  2. T? data,
  3. Map<String, List<String>> headers = const {},
  4. String? statusMessage,
})

Implementation

const HttpResponse({
  this.statusCode,
  this.data,
  this.headers = const {},
  this.statusMessage,
});