exportIndexFile function

String exportIndexFile(
  1. String p,
  2. String distDir,
  3. String indexFile
)

Implementation

String exportIndexFile(String p, String distDir, String indexFile) {
  final relative = p.replaceFirst(distDir + path.separator, "");
  indexFile += "export '$relative' ; \n";
  return indexFile;
}