copyWith method
Returns a copy of this object with its field values replaced by the ones provided to this method.
Implementation
LightSignaling copyWith({
LightSignalingStatus? status,
List<String>? signalValues,
}) {
return LightSignaling(
status: status ?? this.status.copyWith(),
signalValues: signalValues ?? List<String>.from(this.signalValues),
);
}