BucketList constructor

BucketList({
  1. List<BucketItem> buckets = const [],
  2. int? total,
})

Returns a new BucketList instance.

Implementation

BucketList({
  this.buckets = const [],
  this.total,
});