formEncType method

Input formEncType(
  1. String value, {
  2. bool? removeIf,
})

Form data set encoding type to use for form submission. Read more...

Implementation

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