NumericBucketingOption.fromJson constructor

NumericBucketingOption.fromJson(
  1. Map json_
)

Implementation

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