sendEventToBinding method Null safety

Future<void> sendEventToBinding(
  1. PointerEvent event
)

Forwards the given pointer event to the binding.

Implementation

Future<void> sendEventToBinding(PointerEvent event) {
  return TestAsyncUtils.guard<void>(() async {
    binding.handlePointerEvent(event);
  });
}