rank property
Higher rank wins when multiple plans apply.
Implementation
int get rank => switch (this) {
enterprise => 3,
team => 2,
professional => 1,
trial => 0,
none => -1,
};
Higher rank wins when multiple plans apply.
int get rank => switch (this) {
enterprise => 3,
team => 2,
professional => 1,
trial => 0,
none => -1,
};