sendJson method

void sendJson(
  1. Map json
)

send a json content type response

Implementation

void sendJson(Map json) => writer = JsonResponse(json);