Dashboard class
Dashboard configuration model.
Defines a monitoring dashboard with panels, variables, and metadata for rendering and management.
Constructors
-
Dashboard({required String id, required String title, String? description, required List<
DashboardPanel> panels, List<DashboardVariable> variables = const [], Duration? refreshInterval, Duration? timeRange}) -
const
Properties
- description → String?
-
Optional description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Dashboard identifier.
final
-
panels
→ List<
DashboardPanel> -
Panels on this dashboard.
final
- refreshInterval → Duration?
-
Auto-refresh interval.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeRange → Duration?
-
Time range for queries (e.g. last 1 hour).
final
- title → String
-
Dashboard title.
final
-
variables
→ List<
DashboardVariable> -
Template variables for dynamic filtering.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited