xmltovtt library

Functions

checkDirExists(Directory dir) Future<bool>
Checks if a directory exists, if not exit with code 1.
createVttFiles(Iterable<VttFile> vttFiles) → void
Create converted .vtt files in the same folder as the .xml files.
getXMLFiles(List<FileSystemEntity> fsEntities) List<FileSystemEntity>
Takes a list of files that return a list of only .xml.
parseXMLFiles(List<FileSystemEntity> xmlFsEntities) List<XmlFile>
Parse xml files and return a list of xmlFile objects.
start(Directory dir) Future<void>
Start all the operations