compositingReasons method

Future<CompositingReasonsResult> compositingReasons(
  1. LayerId layerId
)

Provides the reasons why the given layer was composited. layerId The id of the layer for which we want to get the reasons it was composited.

Implementation

Future<CompositingReasonsResult> compositingReasons(LayerId layerId) async {
  var result = await _client.send('LayerTree.compositingReasons', {
    'layerId': layerId,
  });
  return CompositingReasonsResult.fromJson(result);
}