operator > method

bool operator >(
  1. Object other
)

Implementation

bool operator >(Object other) =>
    other is DateMonth && runtimeType == other.runtimeType && num > other.num;