getCurrentLocation method

Future<EpubLocation> getCurrentLocation()

Returns current location of epub viewer

Implementation

Future<EpubLocation> getCurrentLocation() async {
  final result = await _request('getCurrentLocation');
  return EpubLocation.fromJson(Utils.asStringMap(result));
}