ExplicitBuckets.fromJson constructor

ExplicitBuckets.fromJson(
  1. Map json_
)

Implementation

ExplicitBuckets.fromJson(core.Map json_)
    : this(
        bounds: json_.containsKey('bounds')
            ? (json_['bounds'] as core.List)
                .map((value) => (value as core.num).toDouble())
                .toList()
            : null,
      );