thisDefault method

Track thisDefault(
  1. bool boolean
)

This attribute indicates that the track should be enabled unless the user's preferences indicate that another track is more appropriate. Read more...

Implementation

Track thisDefault(bool boolean) {
  if (boolean && node.attrs != null) {
    VirtualAttr attr = VirtualAttr('default', '');
    node.attrs!.add(attr);
  }
  return this;
}