addLayerAt method Null safety
- Layer layer,
- LayerPosition position
Add a layer to the current style in a specific position.
Implementation
Future<void> addLayerAt(Layer layer, LayerPosition position) {
var encode = layer._encode();
return addStyleLayer(encode, position);
}