LinearBuckets.fromJson constructor

LinearBuckets.fromJson(
  1. Map json_
)

Implementation

LinearBuckets.fromJson(core.Map json_)
  : this(
      numFiniteBuckets: json_['numFiniteBuckets'] as core.int?,
      offset: (json_['offset'] as core.num?)?.toDouble(),
      width: (json_['width'] as core.num?)?.toDouble(),
    );