AggregateResponse constructor

AggregateResponse({
  1. required APIStatus status,
  2. List<AggregationItem> data = const [],
  3. AggregationResponseStats? stats,
  4. String? reason,
  5. String? code,
  6. List<String> validResourceNames = const [],
})

Returns a new AggregateResponse instance.

Implementation

AggregateResponse({
  required this.status,
  this.data = const [],
  this.stats,
  this.reason,
  this.code,
  this.validResourceNames = const [],
});