WeightedKey<T> constructor
Instantiates it
Implementation
WeightedKey({
required this.name,
required this.getter,
required this.weight,
}) : assert(weight > 0, 'Weight should be positive and non-zero');
Instantiates it
WeightedKey({
required this.name,
required this.getter,
required this.weight,
}) : assert(weight > 0, 'Weight should be positive and non-zero');