setMethod method

dynamic setMethod(
  1. String method
)

Set the method for the request.

Implementation

setMethod(String method) {
  _api.options.method = method;
}