lookupProbe method

List<Probe> lookupProbe(
  1. String type
)

Lookup all probes of type type. Returns an empty list if none are found.

Implementation

List<Probe> lookupProbe(String type) {
  List<Probe> retrainedProbes = probes;
  retrainedProbes.retainWhere((probe) => probe.type == type);
  return retrainedProbes;
}