dateTime method

Time dateTime(
  1. String time, {
  2. bool? removeIf,
})

This attribute indicates the time and/or date of the element and must be in one of the formats described below. Read more...

Implementation

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