isLocatorVisible method
Check if a locator is currently visible on screen.
Implementation
Future<bool> isLocatorVisible(final Locator locator) =>
_invokeMethod<bool>(
_ReaderChannelMethodInvoke.isLocatorVisible,
json.encode(locator),
)
.then((final isVisible) => isVisible!)
.onError((final error, final _) => true);