RankGenerator constructor

RankGenerator({
  1. int percentage = 100,
})

Creates a RankGenerator with the specified percentage.

The percentage determines the threshold for rank generation. By default, it is set to 100%.

Implementation

RankGenerator({
  this.percentage = 100,
});