operator < method

bool operator <(
  1. Level otherLevel
)

Implementation

bool operator <(Level otherLevel) => value < otherLevel.value;