copyWith method

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

📋 Provides a copy of this Sensitivity with either or both parameters replacing those of this.

Implementation

Sensitivity copyWith({double? start, double? end}) =>
    Sensitivity.only(start: start ?? this.start, end: end ?? this.end);