sort method Null safety

int sort(
  1. Condition a,
  2. Condition b
)

Implementation

int sort(Condition a, Condition b) {
  if (a.breakpoint == b.breakpoint) return 0;

  return (a.breakpoint! < b.breakpoint!) ? -1 : 1;
}