responseApiNotFound function
Response
responseApiNotFound({})
Get an instance of Response
with not found status
Implementation
Response responseApiNotFound(
{int apiStatus = HttpStatus.notFound,
String? message,
Encoding? encoding,
dynamic data,
Map<String, Object>? context,
Map<String, Object>? headers,
Object? Function(Object? obj)? jsonEncodingFunction}) {
return _formatResponse(ServerStatusCode.notFound,
message: message,
encoding: encoding,
data: data,
context: context,
apiStatus: apiStatus,
headers: headers,
jsonEncodingFunction: jsonEncodingFunction);
}