method property

HttpMethod? method
final

The HTTP method to use for the request (GET, POST, PUT, etc.).

Common values include HttpMethod.get, HttpMethod.post, HttpMethod.put, etc. If null, defaults to GET method.

Implementation

final HttpMethod? method;