methodNotAllowed function

Response methodNotAllowed([
  1. OutboundErrorDocument? document
])

Implementation

Response methodNotAllowed([OutboundErrorDocument? document]) =>
    response(StatusCode.methodNotAllowed, document: document);