firstOfEachType method
Returns the first frame of each unique type (for opening both ROHD and SV files simultaneously).
Implementation
List<SourceFrame> firstOfEachType() {
final seen = <String>{};
final result = <SourceFrame>[];
for (final f in _frames) {
if (seen.add(f.type)) {
result.add(f);
}
}
return result;
}