isTouchEvent property
bool
isTouchEvent
Uses Duck Typing to detect if the event instance is a SyntheticTouchEvent.
Implementation
bool get isTouchEvent => _hasProperty('targetTouches') || _checkEventType(const ['touch']);