TableConfig class

Declarative table configuration for the dashboard.

Constructors

TableConfig.topN(String metric, {required String label, int limit = 10, String? groupBy, AnalyticsAggregation aggregation = AnalyticsAggregation.sum, Map<String, String>? filters})
const

Properties

aggregation AnalyticsAggregation
How the backend aggregates the metric for this table.
final
filters Map<String, String>?
Extra label filters applied alongside the service's base filters.
final
groupBy String?
Dimension to rank by. Required by the Thesa top-N endpoint; data sources that query Thesa reject top-N specs without it.
final
hashCode int
The hash code for this object.
no setterinherited
label String
final
limit int
final
metric String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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