gt function Null safety

MatchCase<num> gt(
  1. num number
)

Implementation

MatchCase<num> gt(num number) {
  return (n) => n > number;
}