isCursorSupported method

Future<bool> isCursorSupported()

Returns a cached result indicating whether cursor position reporting is supported.

If not cached, performs the asynchronous check via supportsCursorResponse.

Implementation

Future<bool> isCursorSupported() async {
  if (_cursorSupported != null) return _cursorSupported!;
  _cursorSupported = await supportsCursorResponse();
  return _cursorSupported!;
}