notFound function

Response notFound([
  1. String? message
])

Create a 404 Not Found response

Implementation

Response notFound([String? message]) {
  return textResponse(
    message ?? 'Not Found',
    status: 404,
  );
}