httpMethod property Null safety

HttpMethod httpMethod

Gets or sets the HTTP method.

Implementation

HttpMethod get httpMethod => _httpMethod;
void httpMethod=(HttpMethod value)

Implementation

set httpMethod(HttpMethod value) {
  if (_httpMethod != value) {
    _httpMethod = value;
    if (_httpMethod == HttpMethod.getHttp) {
      _flags.add(PdfSubmitFormFlags.getMethod);
    } else {
      _flags.remove(PdfSubmitFormFlags.getMethod);
    }
  }
}