snapshot method
Creates a snapshot of the currently selected widgets.
This method captures the current state of the widgets selected by the selector for further analysis or assertions.
Implementation
WidgetSnapshot<W> snapshot() {
return snapshot_file.snapshot(this, validateQuantity: false);
}