mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-10 15:17:31 +00:00
Created RangeOfAqi
model.
This commit is contained in:
18
lib/pages/analytics/models/range_of_aqi.dart
Normal file
18
lib/pages/analytics/models/range_of_aqi.dart
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import 'package:equatable/equatable.dart';
|
||||||
|
|
||||||
|
class RangeOfAqi extends Equatable {
|
||||||
|
final double min;
|
||||||
|
final double avg;
|
||||||
|
final double max;
|
||||||
|
final DateTime date;
|
||||||
|
|
||||||
|
const RangeOfAqi({
|
||||||
|
required this.min,
|
||||||
|
required this.avg,
|
||||||
|
required this.max,
|
||||||
|
required this.date,
|
||||||
|
});
|
||||||
|
|
||||||
|
@override
|
||||||
|
List<Object?> get props => [min, avg, max, date];
|
||||||
|
}
|
Reference in New Issue
Block a user