response method

Response response({
  1. required dynamic body,
  2. required int? status,
  3. required String? statusText,
  4. required Headers? headers,
})

Implementation

Response response({
  required dynamic body,
  required int? status,
  required String? statusText,
  required Headers? headers,
}) {
  return Response(
    body,
    status: status,
    statusText: statusText,
    headers: headers,
  );
}