setFlat abstract method
@brief Method is used to specify whether the icon is flat or billboarded. @param flat If true, the icon aligns with the location view surface; if false, it maintains orientation to the screen surface. Default: false. @return true if the operation is successful, false otherwise.
Dart code snippet: @snippet location_window_map_objects_example.dart dart_IconMapObject_setFlat
Implementation
bool setFlat(bool flat);