sendEventToBinding method

Future<void> sendEventToBinding (PointerEvent event, HitTestResult result)

Forwards the given pointer event to the binding.

Implementation

Future<void> sendEventToBinding(PointerEvent event, HitTestResult result) {
  return TestAsyncUtils.guard<void>(() async {
    binding.dispatchEvent(event, result);
  });
}