copyWith method

VerticalRelease copyWith({
  1. VerticalDir? direction,
  2. VerticalZone? startZone,
  3. VerticalZone? endZone,
  4. List<AxisFling>? decay,
  5. AxisFling? settle,
})

Implementation

VerticalRelease copyWith({
  VerticalDir? direction,
  VerticalZone? startZone,
  VerticalZone? endZone,
  List<AxisFling>? decay,
  AxisFling? settle,
}) =>
    VerticalRelease(
      direction: direction ?? this.direction,
      startZone: startZone ?? this.startZone,
      endZone: endZone ?? this.endZone,
      decay: decay ?? this.decay,
      settle: settle ?? this.settle,
    );