MockResponse.notFound constructor

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

Implementation

factory MockResponse.notFound(
        {body, Map<String, String>? headers, String? statusText}) =>
    MockResponse(404, body: body, headers: headers, statusText: statusText);