region method

GenerativeRemove region(
  1. dynamic region
)

Implementation

GenerativeRemove region(dynamic region) {
  if (region is Rectangle || region is List<Rectangle>) {
    _region = region;
  }
  return this;
}