mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-14 17:25:50 +00:00
15 lines
262 B
Dart
15 lines
262 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
class EnergyData extends Equatable {
|
|
const EnergyData({
|
|
required this.date,
|
|
required this.value,
|
|
});
|
|
|
|
final DateTime date;
|
|
final double value;
|
|
|
|
@override
|
|
List<Object?> get props => [date, value];
|
|
}
|