BucketInfo.fromJson constructor
Implementation
factory BucketInfo.fromJson(Map<String, dynamic> json) {
return BucketInfo(
buckets: (json['buckets'] as List?)
?.whereNotNull()
.map((e) => Bucket.fromJson(e as Map<String, dynamic>))
.toList(),
);
}