copyWith method

ImageStretch copyWith({
  1. double? from,
  2. double? to,
})

A copy of this value with the given members replaced.

Implementation

ImageStretch copyWith({double? from, double? to}) =>
    ImageStretch(from: from ?? this.from, to: to ?? this.to);