setCollisionEnabled abstract method

bool setCollisionEnabled(
  1. bool enabled
)

@brief Method is used to enable or disable collision detection for the icon. @param enabled Specifies whether collision detection is enabled (true) or disabled (false). Default: false. @return true if the operation is successful, false otherwise.

Dart code snippet: @snippet location_window_map_objects_example.dart dart_DottedPolylineMapObject_setCollisionEnabled

Implementation

bool setCollisionEnabled(bool enabled);