formMethod method

Input formMethod(
  1. String method, {
  2. bool? removeIf,
})

HTTP method to use for form submission. Read more...

Implementation

Input formMethod(String method, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('formmethod', method);
    node.attrs!.add(attr);
  }
  return this;
}