Bucket.fromJson constructor

Bucket.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Bucket.fromJson(Map<String, dynamic> json) {
  return Bucket(
    low: json['low'] as int,
    high: json['high'] as int,
    count: json['count'] as int,
  );
}