method property

String get method

The HTTP method of the request uppercase (e.g., 'GET', 'POST', 'PUT', 'DELETE').

Implementation

String get method => _request.method.toUpperCase();