part of 'atmospheric_conditions_bloc.dart'; class AtmosphericConditionsState extends Equatable { final double temperature; final double humidity; final double pressure; final double altitude; final int timeMs; final List history; final bool isLoading; const AtmosphericConditionsState({ this.temperature = 0.0, this.humidity = 0.0, this.pressure = 0.0, this.altitude = 0.0, this.timeMs = 0, this.history = const [], this.isLoading = true, }); AtmosphericConditionsState copyWith({ double? temperature, double? humidity, double? pressure, double? altitude, int? timeMs, List? history, bool? isLoading, }) { return AtmosphericConditionsState( temperature: temperature ?? this.temperature, humidity: humidity ?? this.humidity, pressure: pressure ?? this.pressure, altitude: altitude ?? this.altitude, timeMs: timeMs ?? this.timeMs, history: history ?? this.history, isLoading: isLoading ?? this.isLoading, ); } @override List get props => [ temperature, humidity, pressure, altitude, timeMs, history, isLoading, ]; }