method property

  1. @override
String method

The HTTP method of the request.

Most commonly "GET" or "POST", less commonly "HEAD", "PUT", or "DELETE". Non-standard method names are also supported.

Implementation

@override
String get method => request.method;