Bucket.fromJson constructor

Bucket.fromJson(
  1. Map json_
)

Implementation

Bucket.fromJson(core.Map json_)
  : this(
      max: json_['max'] as core.int?,
      min: json_['min'] as core.int?,
      proportion: (json_['proportion'] as core.num?)?.toDouble(),
    );