VttFile.fromXmlFile constructor

VttFile.fromXmlFile(
  1. XmlFile xmlFile
)

Implementation

VttFile.fromXmlFile(XmlFile xmlFile)
    : path = xmlFile.path.replaceAll('.xml', '.vtt'),
      items = xmlFile.items.map((e) => VttFileCue.fromXmlFileCue(e)).toList();