methodNotAllowed method

void methodNotAllowed()

Implementation

void methodNotAllowed() {
  message = Response(405, body: 'Unsupported request: ${request.method}.');
}