Response constructor Null safety

const Response(
  1. {required Request request,
  2. required int statusCode,
  3. required Map<String, dynamic> headers,
  4. required ContentType contentType,
  5. required String body}
)

Constructor

Implementation

const Response({
  required this.request,
  required this.statusCode,
  required this.headers,
  required this.contentType,
  required this.body,
});