copyWith method
Implementation
GearOption copyWith({
String? key,
Item? item,
double? amount,
}) =>
GearOption(
key: key ?? this.key,
item: item ?? this.item,
amount: amount ?? this.amount,
);
GearOption copyWith({
String? key,
Item? item,
double? amount,
}) =>
GearOption(
key: key ?? this.key,
item: item ?? this.item,
amount: amount ?? this.amount,
);