Rank constructor

Rank({
  1. required int index,
  2. List<int> matchedIndexes = const [],
})

Creates a rank.

Implementation

Rank({required this.index, this.matchedIndexes = const []});