rects property

List<Rect> get rects

Implementation

List<Rect> get rects => _rects;
set rects (List<Rect> newRects)

Implementation

set rects(List<Rect> newRects){
  _rects = newRects;
  collisions = List.filled(rects.length, []);
}