method property
RequestMethod?
get
method
Standard HTTP method of the hypothetical request. Defaults to "get" for HTTP requests and is ignored for non-HTTP requests.
Implementation
RequestMethod? get method => _wrapped.method?.let(RequestMethod.fromJS);
set
method
(RequestMethod? v)
Implementation
set method(RequestMethod? v) {
_wrapped.method = v?.toJS;
}