goToLocator method
Go directly to the given Locator in the publication, whether visual or audio.
Implementation
@override
Future<bool> goToLocator(Locator locator) async =>
await methodChannel.invokeMethod<bool>('goToLocator', [
locator.toJson(),
]) ??
false;