HttpResponse constructor

const HttpResponse({
  1. required int? statusCode,
  2. required Map<String, String> headers,
  3. required dynamic data,
})

Creates a transport response.

Implementation

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