fromJson static method
Returns a new Buckets instance and imports
Implementation
// ignore: prefer_constructors_over_static_methods
static Buckets fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return Buckets(
links: json[r'links'] == null ? null : Links.fromJson(json[r'links']),
buckets: Bucket.listFromJson(json[r'buckets']),
);
}