isGreaterThan method Null safety

bool isGreaterThan(
  1. num a,
  2. num b
)

Checks if num a GREATER than num b.

Implementation

static bool isGreaterThan(num a, num b) => a > b;