Response.accepted constructor Null safety

Response.accepted(
  1. {Map<String, dynamic>? headers}
)

Represents a 202 response.

Implementation

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