graphics property
The modifiable collection of graphics in this graphics overlay.
You can add or remove graphics from this collection to modify what is displayed in the GeoViewController.
If Z-index for graphics is not set, they usually render in the order in which they were added to the graphics overlay, the first added is rendered first and subsequent ones on top. In rare cases, the rendering algorithm may change the display order to provide more efficient rendering. If ordering is important, set the Graphic.zIndex explicitly on graphics. You can also place graphics of the same geometry type in their own graphics overlay and manage the order of the overlays in the view.
The graphics property is initially empty and can never be null.
Implementation
List<Graphic> get graphics => _graphics.value;