AggregationResponse constructor

AggregationResponse({
  1. required APIStatus status,
  2. List<AggregationItem> data = const [],
  3. AggregationResponseStats? stats,
})

Returns a new AggregationResponse instance.

Implementation

AggregationResponse({
  required this.status,
  this.data = const [],
  this.stats,
});