getColor method - MapSceneLights class - mapview library - Dart API
getColor
getColor abstract method
- MapSceneLightsCategory category
Retrieves the current color of the light based on its category.
categoryThe category of light from which the color is retrieved.
Returns ui.Color?. The current color of the light, or null if the light is missing from the loaded scene
or MapScene is not intitialized.
Implementation
ui.Color? getColor(MapSceneLightsCategory category);