copyWith method
WheelOptions
copyWith({
- double? gutter,
- double? offsetDegree,
- double? stopRange,
- LuckyMotionOptions? motion,
返回仅替换非 null 参数的副本。
Implementation
WheelOptions copyWith(
{double? gutter,
double? offsetDegree,
double? stopRange,
LuckyMotionOptions? motion}) =>
WheelOptions(
gutter: gutter ?? this.gutter,
offsetDegree: offsetDegree ?? this.offsetDegree,
stopRange: stopRange ?? this.stopRange,
motion: motion ?? this.motion);