go method
Go e.g. navigate to a specific locator in the publication.
Implementation
Future<void> go(
final Locator locator, {
required final bool isAudioBookWithText,
final bool animated = false,
}) {
R2Log.d('$name: $locator, $animated');
return _invokeMethod(_ReaderChannelMethodInvoke.go, [
json.encode(locator.toTextLocator()),
animated,
isAudioBookWithText,
]);
}