method method

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

The HTTP method to submit the form with. Read more...

Implementation

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