methodNotAllowed static method

Response<OutboundDocument> methodNotAllowed([
  1. OutboundErrorDocument? document
])

Implementation

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