removePointer method

Future<void> removePointer({
  1. Duration timeStamp = Duration.zero,
  2. Offset? location,
})

In a test, send a pointer remove event for this pointer.

Implementation

Future<void> removePointer({ Duration timeStamp = Duration.zero, Offset? location }) {
  return TestAsyncUtils.guard<void>(() {
    return _dispatcher(_pointer.removePointer(timeStamp: timeStamp, location: location ?? _pointer.location));
  });
}