setMethod method

void setMethod(
  1. String method
)

Set the method for the request.

Implementation

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