copyWith method

BrushExtent copyWith({
  1. double? start,
  2. double? end,
})

Creates a copy with updated values.

Implementation

BrushExtent copyWith({double? start, double? end}) {
  return BrushExtent(start ?? this.start, end ?? this.end);
}