copyWith method
返回只替换非空参数的副本。
Implementation
NumberWheelPocket copyWith(
{int? number,
String? label,
LuckyFill? fill,
double? weight,
bool? disabled}) =>
NumberWheelPocket(number ?? this.number,
label: label ?? this.label,
fill: fill ?? this.fill,
weight: weight ?? this.weight,
disabled: disabled ?? this.disabled);