sendEventToBinding method Null safety

  1. @override
Future<void> sendEventToBinding(
  1. PointerEvent event
)
override

Forwards the given pointer event to the binding.

Implementation

@override
Future<void> sendEventToBinding(PointerEvent event) {
  return TestAsyncUtils.guard<void>(() async {
    binding.handlePointerEventForSource(event, source: TestBindingEventSource.test);
  });
}