setLocation method
Set the current location to the given locator.
Implementation
Future<void> setLocation(
final Locator locator,
final bool isAudioBookWithText,
) async => _invokeMethod(_ReaderChannelMethodInvoke.setLocation, [
json.encode(locator),
isAudioBookWithText,
]);