label property
The optional label of the Polygon.
Note that specifying a label will reduce performance, as the internal canvas must be drawn to and 'saved' more frequently to ensure the proper stacking order is maintained. This can be avoided, potentially at the expense of appearance, by setting PolygonLayer.drawLabelsLast.
Implementation
final String? label;