method property

String get method

Returns request's HTTP method, which is "GET" by default.

MDN Reference

Implementation

_i2.String get method => _i4.getProperty(
      this,
      'method',
    );