copyWith method
Implementation
GearChoice copyWith({
String? key,
String? description,
List<GearSelection>? selections,
List<int>? preselect,
int? maxSelections,
}) =>
GearChoice(
key: key ?? this.key,
description: description ?? this.description,
selections: selections ?? this.selections,
preselect: preselect ?? this.preselect,
maxSelections: maxSelections ?? this.maxSelections,
);