Response.notFound constructor Null safety

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

Represents a 404 response.

Implementation

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