toMap method

Map<String, dynamic> toMap()

Converts this snapshot to a map matching the platform channel format.

Implementation

Map<String, dynamic> toMap() {
  return {
    'is_overlay_detected': isOverlayDetected,
    'is_partial_overlay': isPartialOverlay,
    'is_touch_filter_enabled': isTouchFilterEnabled,
  };
}