LayerSnapshot constructor
LayerSnapshot({
- List<
NodeSnapshot> ? nodes, - bool isBackground = false,
Implementation
LayerSnapshot({List<NodeSnapshot>? nodes, this.isBackground = false})
: nodes = List<NodeSnapshot>.unmodifiable(
nodes == null ? const <NodeSnapshot>[] : List<NodeSnapshot>.from(nodes),
);