notFound static method

Response notFound(
  1. dynamic body
)

Implementation

static Response notFound(body) {
  final overrideHeaders = {
    ACCESS_CONTROL_ALLOW_ORIGIN: '*',
    'Content-Type': 'application/json;charset=utf-8'
  };

  return Response.notFound(body, headers: overrideHeaders);
}