readByteContentFiles static method
Future<Map<String, EpubByteContentFile> >
readByteContentFiles(
- Map<
String, EpubByteContentFileRef> byteContentFileRefs
Implementation
static Future<Map<String, EpubByteContentFile>> readByteContentFiles(
Map<String, EpubByteContentFileRef> byteContentFileRefs) async {
final result = <String, EpubByteContentFile>{};
await Future.forEach(byteContentFileRefs.keys, (String key) async {
result[key] = await readByteContentFile(byteContentFileRefs[key]!);
});
return result;
}