findById method

TPrototype? findById(
  1. AFBaseTestID id
)

Implementation

TPrototype? findById(AFBaseTestID id) {
  return _connectedTests.firstWhereOrNull( (test) => test.id == id);
}