getMetadata method
Implementation
Future<EpubMetadata> getMetadata() async {
checkEpubLoaded();
final result = await webViewController!.evaluateJavascript(
source: 'getBookInfo()',
);
return EpubMetadata.fromJson(result);
}
Future<EpubMetadata> getMetadata() async {
checkEpubLoaded();
final result = await webViewController!.evaluateJavascript(
source: 'getBookInfo()',
);
return EpubMetadata.fromJson(result);
}