getAsset method
- String name
inherited
Implementation
Uint8List? getAsset(String name) {
final added = state.added[name];
if (added != null) {
return added;
}
if (state.removed.contains(name)) {
return null;
}
final file = archive.findFile(name);
if (file == null) {
return null;
}
return file.content;
}