copyWith method
Implementation
DiagnosticTestCycleState copyWith({
DiagnosticCycleState? unloadedCycle,
DiagnosticCycleState? loadedCycle,
List<AdvancedParameterDefinition>? definitions,
List<DiagnosticParameterValue>? parameterValues,
WifiStatus? wifiStatus,
bool? cellularConnected,
int? cellularStrength,
SubDeviceConnectionType? atsConnectionType,
SignalStrength? atsIsmSignalStrength,
}) {
return DiagnosticTestCycleState(
unloadedCycle: unloadedCycle ?? this.unloadedCycle,
loadedCycle: loadedCycle ?? this.loadedCycle,
definitions: definitions ?? this.definitions,
parameterValues: parameterValues ?? this.parameterValues,
wifiStatus: wifiStatus ?? this.wifiStatus,
cellularConnected: cellularConnected ?? this.cellularConnected,
cellularStrength: cellularStrength ?? this.cellularStrength,
atsConnectionType: atsConnectionType ?? this.atsConnectionType,
atsIsmSignalStrength: atsIsmSignalStrength ?? this.atsIsmSignalStrength,
);
}