Files
manager/lib/features/dashboard/providers/dashboard_summary.dart
T

15 lines
557 B
Dart
Raw Normal View History

2026-07-27 14:42:23 +02:00
import 'package:freezed_annotation/freezed_annotation.dart';
import '../../../core/models/models.dart';
part 'dashboard_summary.freezed.dart';
/// Client-side composition of the two data sources the Dashboard needs —
/// no server endpoint returns this shape directly. Not JSON-serializable
/// (nothing here is ever sent/stored as JSON), so no `fromJson`/`toJson`.
@freezed
sealed class DashboardSummary with _$DashboardSummary {
const factory DashboardSummary({required List<Service> services, required NodeInfo node}) =
_DashboardSummary;
}