dateTime method

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

This attribute indicates the time and date of the change and must be a valid date with an optional time string. Read more...

Implementation

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