Sorter typedef
3‑way comparator to impose a deterministic order on keys (‑1/0/+1). Returning values outside that set will be signum‑clamped by callers.
Implementation
typedef Sorter = int Function(dynamic a, dynamic b);
3‑way comparator to impose a deterministic order on keys (‑1/0/+1). Returning values outside that set will be signum‑clamped by callers.
typedef Sorter = int Function(dynamic a, dynamic b);