GoogleCloudRetailV2SearchResponseFacetFacetValue.fromJson constructor

GoogleCloudRetailV2SearchResponseFacetFacetValue.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2SearchResponseFacetFacetValue.fromJson(core.Map json_)
    : this(
        count:
            json_.containsKey('count') ? json_['count'] as core.String : null,
        interval: json_.containsKey('interval')
            ? GoogleCloudRetailV2Interval.fromJson(
                json_['interval'] as core.Map<core.String, core.dynamic>)
            : null,
        maxValue: json_.containsKey('maxValue')
            ? (json_['maxValue'] as core.num).toDouble()
            : null,
        minValue: json_.containsKey('minValue')
            ? (json_['minValue'] as core.num).toDouble()
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );