onLayerPainted property

Stream<LayerPaintedEvent> get onLayerPainted

Implementation

Stream<LayerPaintedEvent> get onLayerPainted => _client.onEvent
    .where((event) => event.name == 'LayerTree.layerPainted')
    .map((event) => LayerPaintedEvent.fromJson(event.parameters));