copyWith method
返回仅替换非 null 参数的副本;例如 value.copyWith() 保留全部配置。
Implementation
SlotReel copyWith(
{List<int>? order,
double? speed,
int? direction,
Duration? stopDelay}) =>
SlotReel(
order: order ?? this.order,
speed: speed ?? this.speed,
direction: direction ?? this.direction,
stopDelay: stopDelay ?? this.stopDelay);