copyWith method
Implementation
TrafficScore copyWith({
TrafficScoreState? state,
Optional<int?>? value
}) {
return TrafficScore(
state: state ?? this.state,
value: value != null ? value.value : this.value
);
}
TrafficScore copyWith({
TrafficScoreState? state,
Optional<int?>? value
}) {
return TrafficScore(
state: state ?? this.state,
value: value != null ? value.value : this.value
);
}