copy method
Implementation
Selection<T> copy({
bool? selected,
bool? loading,
String? id,
T? data,
}) {
return Selection(
id: id ?? this.id,
data: data ?? this.data,
loading: loading ?? this.loading,
selected: selected ?? this.selected,
);
}