response property Null safety

Response response
override

Implementation

@override
Response get response {
  return Response.badRequest(
      body: {"error": "entity validation failed", "reasons": reasons});
}