copyWith method
Implementation
AtomicSelectListItem<T> copyWith({
String? text,
String? subText,
T? value,
IconData? icon,
bool? enabled,
bool? selected,
}) {
return AtomicSelectListItem<T>(
text: text ?? this.text,
subText: subText ?? this.subText,
value: value ?? this.value,
icon: icon ?? this.icon,
enabled: enabled ?? this.enabled,
selected: selected ?? this.selected,
);
}