isPointerEvent property
bool
isPointerEvent
Uses Duck Typing to detect if the event instance is a SyntheticPointerEvent
.
Implementation
bool get isPointerEvent => _hasProperty('pointerId') || _checkEventType(const ['pointer']);