Response.ok constructor

Response.ok(
  1. dynamic body, {
  2. Map<String, dynamic>? headers,
})

Represents a 200 response.

Implementation

Response.ok(dynamic body, {Map<String, dynamic>? headers})
    : this(HttpStatus.ok, headers, body);