EpubSource.fromAsset constructor

EpubSource.fromAsset(
  1. String assetPath
)

load from assets

Implementation

factory EpubSource.fromAsset(String assetPath) {
  return EpubSource._(epubData: _getAssetData(assetPath));
}