copy method

Rect copy({
  1. double? left,
  2. double? top,
  3. double? width,
  4. double? height,
})

Implementation

Rect copy({double? left, double? top, double? width, double? height}) {
  return Rect.fromLTWH(left ?? this.left, top ?? this.top,
      width ?? this.width, height ?? this.height);
}