GetDashboardResult constructor

const GetDashboardResult({
  1. required ColumnLayoutResponse columnLayout,
  2. required List<DashboardFilterResponse> dashboardFilters,
  3. required String displayName,
  4. required String etag,
  5. required GridLayoutResponse gridLayout,
  6. required Map<String, String> labels,
  7. required MosaicLayoutResponse mosaicLayout,
  8. required String name,
  9. required RowLayoutResponse rowLayout,
})

Creates a new GetDashboardResult. columnLayout The content is divided into equally spaced columns and the widgets are arranged vertically. dashboardFilters Filters to reduce the amount of data charted based on the filter criteria. displayName The mutable, human-readable name. etag etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. An etag is returned in the response to GetDashboard, and users are expected to put that etag in the request to UpdateDashboard to ensure that their change will be applied to the same version of the Dashboard configuration. The field should not be passed during dashboard creation. gridLayout Content is arranged with a basic layout that re-flows a simple list of informational elements like widgets or tiles. labels Labels applied to the dashboard mosaicLayout The content is arranged as a grid of tiles, with each content widget occupying one or more grid blocks. name Immutable. The resource name of the dashboard. rowLayout The content is divided into equally spaced rows and the widgets are arranged horizontally.

Implementation

const GetDashboardResult({
  required this.columnLayout,
  required this.dashboardFilters,
  required this.displayName,
  required this.etag,
  required this.gridLayout,
  required this.labels,
  required this.mosaicLayout,
  required this.name,
  required this.rowLayout,
});