1. override
bool containsRectangle(Rectangle<num> r)

Tests whether this entirely contains another.

Source

@override
bool containsRectangle(math.Rectangle<num> r) {
  return left <= r.left && top <= r.top && right >= r.right && bottom >= r.bottom;
}