operator > method
Greater than operator for nullable DateTime with DateTime Returns false if this is null
Implementation
bool operator >(DateTime? other) {
if (this == null) return false;
if (other == null) return false;
return this!.isAfter(other);
}