CustomAttributeHistogramRequest.fromJson constructor

CustomAttributeHistogramRequest.fromJson(
  1. Map json_
)

Implementation

CustomAttributeHistogramRequest.fromJson(core.Map json_)
  : this(
      key: json_['key'] as core.String?,
      longValueHistogramBucketingOption:
          json_.containsKey('longValueHistogramBucketingOption')
              ? NumericBucketingOption.fromJson(
                json_['longValueHistogramBucketingOption']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      stringValueHistogram: json_['stringValueHistogram'] as core.bool?,
    );