copyWith method
NmTaxRadarState
copyWith({
- List<
NmCounterparty> ? counterparties, - String? selectedCounterpartyId,
- double? sweepAngle,
- bool? isScanning,
- Set<
NmCounterpartyType> ? filterTypes,
Copy with.
Implementation
NmTaxRadarState copyWith({
List<NmCounterparty>? counterparties,
String? selectedCounterpartyId,
double? sweepAngle,
bool? isScanning,
Set<NmCounterpartyType>? filterTypes,
}) {
return NmTaxRadarState(
counterparties: counterparties ?? this.counterparties,
selectedCounterpartyId: selectedCounterpartyId ?? this.selectedCounterpartyId,
sweepAngle: sweepAngle ?? this.sweepAngle,
isScanning: isScanning ?? this.isScanning,
filterTypes: filterTypes ?? this.filterTypes,
);
}