copyWith method
A copy of this value with the given members replaced.
Implementation
MomentumSnap copyWith({
double? spacing,
double? offset,
double? tolerance,
double? durationMs,
}) => MomentumSnap(
spacing: spacing ?? this.spacing,
offset: offset ?? this.offset,
tolerance: tolerance ?? this.tolerance,
durationMs: durationMs ?? this.durationMs,
);