copyWith method

MinMotion copyWith({
  1. Duration? fast,
  2. Duration? normal,
  3. Duration? slow,
  4. Curve? curve,
})

Implementation

MinMotion copyWith({
  Duration? fast,
  Duration? normal,
  Duration? slow,
  Curve? curve,
}) {
  return MinMotion(
    fast: fast ?? this.fast,
    normal: normal ?? this.normal,
    slow: slow ?? this.slow,
    curve: curve ?? this.curve,
  );
}