getCurrentLocation method
Returns current location of epub viewer
Implementation
Future<EpubLocation> getCurrentLocation() async {
checkEpubLoaded();
currentLocationCompleter = Completer<EpubLocation>();
webViewController?.evaluateJavascript(source: 'getCurrentLocation()');
return await currentLocationCompleter.future;
}