operator < method Null safety

bool operator <(
  1. num other
)

Relational less than operator.

Implementation

bool operator <(num other) => value < other;