jsonResponse method

Response jsonResponse(
  1. dynamic data, {
  2. int statusCode = 200,
})

Implementation

Response jsonResponse(data, {int statusCode = 200}) {
  return response.json(data, statusCode: statusCode);
}