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.handlePointerEvent(event, source: TestBindingEventSource.test);
  });
}