getPaintProperty method
Returns the value of a paint property in the specified style layer.
@param {string} layerId The ID of the layer to get the paint property from. @param {string} name The name of a paint property to get. @returns {*} The value of the specified paint property.
Implementation
dynamic getPaintProperty(String layerId, String name) =>
jsObject.getPaintProperty(layerId, name);