TableConfig.topN constructor

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

Implementation

const TableConfig.topN(
  this.metric, {
  required this.label,
  this.limit = 10,
  this.groupBy,
  this.aggregation = AnalyticsAggregation.sum,
  this.filters,
});