kind method

Track kind(
  1. String keyword, {
  2. bool? removeIf,
})

How the text track is meant to be used. Read more...

Implementation

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