action method

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

The URL that processes the form submission. Read more...

Implementation

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