counter property
int
counter
To access the private counter, add this to the test file:
extension TestExtension on ISet {
int get counter => InternalsForTestingPurposesISet(this).counter;
}
Implementation
int get counter => iset._counter;