EpubSource.fromFile constructor

EpubSource.fromFile(
  1. File file
)

Loading from a file

Implementation

factory EpubSource.fromFile(File file) {
  return EpubSource._(epubData: file.readAsBytes());
}