Response.serverError constructor Null safety

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

Represents a 500 response.

Implementation

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