isSupersetOf method

bool isSupersetOf(
  1. Range<TYPE> that, {
  2. bool strict = false,
})

Evaluate whether this range is a superset of another.

that The other range to compare to. strict Whether to consider strict superset (not equal).

Returns true if this range is a superset of the other range, false otherwise.

Implementation

bool isSupersetOf(Range<TYPE> that, {bool strict = false}) => that.isSubsetOf(this, strict: strict);