findByKey method

WidgetSelection findByKey(
  1. String key
)

Implementation

WidgetSelection findByKey(String key) => WidgetSelection._fromMatches(
  scope: '$kind $name',
  selector: 'findByKey("$key")',
  matches: widgets.where((widget) => widget.key == key).toList(),
);