response function

DoxResponse response([
  1. dynamic content
])

content can be anything String, int, Map, json serializable object, Stream<List

Implementation

DoxResponse response([dynamic content]) {
  return DoxResponse(content);
}