readByteContentFiles static method

Future<Map<String, EpubByteContentFile>> readByteContentFiles(
  1. Map<String, EpubByteContentFileRef> byteContentFileRefs
)

Implementation

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