send method

Response send(
  1. dynamic value
)

Implementation

Response send(
  dynamic value,
) {
  if (value is JsonScheme) {
    return json(value.toJson());
  } else {
    return response(
      body: (value),
      status: _status_code,
      statusText: _status_text,
      headers: headers,
    );
  }
}