$createMiddleware property
Middleware
get
$createMiddleware
Implementation
Middleware get $createMiddleware => createMiddleware(
requestHandler: onRequest,
responseHandler: onResponse,
errorHandler: onError);