acceptCharset method

Form acceptCharset(
  1. List<String> encList, {
  2. bool? removeIf,
})

Character encodings the server accepts. Read more...

Implementation

Form acceptCharset(List<String> encList, {bool? removeIf}) {
  if (removeIf != true && node.attrs != null) {
    VirtualAttr attr =
        VirtualAttr('accept-charset', _html.listToSpaces(encList));
    node.attrs!.add(attr);
  }
  return this;
}