CustomAttributeHistogramRequest.fromJson constructor

CustomAttributeHistogramRequest.fromJson(
  1. Map json_
)

Implementation

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