WidgetResponse class

Widget contains a single dashboard component and configuration of how to present the component in the dashboard.

Constructors

WidgetResponse({required Input<AlertChartResponse> alertChart, required Input<Map<String, dynamic>> blank, required Input<CollapsibleGroupResponse> collapsibleGroup, required Input<ErrorReportingPanelResponse> errorReportingPanel, required Input<IncidentListResponse> incidentList, required Input<LogsPanelResponse> logsPanel, required Input<PieChartResponse> pieChart, required Input<ScorecardResponse> scorecard, required Input<TextResponse> text, required Input<TimeSeriesTableResponse> timeSeriesTable, required Input<String> title, required Input<XyChartResponse> xyChart})
Creates a new WidgetResponse. alertChart A chart of alert policy data. blank A blank space. collapsibleGroup A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets. errorReportingPanel A widget that displays a list of error groups. incidentList A widget that shows list of incidents. logsPanel A widget that shows a stream of logs. pieChart A widget that displays timeseries data as a pie chart. scorecard A scorecard summarizing time series data. text A raw string or markdown displaying textual content. timeSeriesTable A widget that displays time series data in a tabular format. title Optional. The title of the widget. xyChart A chart of time series data.
const
WidgetResponse.fromMap(Map<String, dynamic> map)
factory

Properties

alertChart → Input<AlertChartResponse>
A chart of alert policy data.
final
blank → Input<Map<String, dynamic>>
A blank space.
final
collapsibleGroup → Input<CollapsibleGroupResponse>
A widget that groups the other widgets. All widgets that are within the area spanned by the grouping widget are considered member widgets.
final
errorReportingPanel → Input<ErrorReportingPanelResponse>
A widget that displays a list of error groups.
final
hashCode → int
The hash code for this object.
no setterinherited
incidentList → Input<IncidentListResponse>
A widget that shows list of incidents.
final
logsPanel → Input<LogsPanelResponse>
A widget that shows a stream of logs.
final
pieChart → Input<PieChartResponse>
A widget that displays timeseries data as a pie chart.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scorecard → Input<ScorecardResponse>
A scorecard summarizing time series data.
final
text → Input<TextResponse>
A raw string or markdown displaying textual content.
final
timeSeriesTable → Input<TimeSeriesTableResponse>
A widget that displays time series data in a tabular format.
final
title → Input<String>
Optional. The title of the widget.
final
xyChart → Input<XyChartResponse>
A chart of time series data.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited