getAssets method
inherited
Implementation
Iterable<String> getAssets(String path, [bool removeExtension = false]) => {
...archive.files.map((e) => e.name),
...state.added.keys,
}
.where((e) =>
e.startsWith(path) && !state.removed.contains(e) && e != path)
.map((e) => e.substring(path.length))
.map((e) {
if (e.startsWith('/')) e = e.substring(1);
if (!removeExtension) return e;
final startExtension = e.lastIndexOf('.');
if (startExtension == -1) return e;
return e.substring(0, startExtension);
});