GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.fromJson constructor

GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2SearchRequestBoostSpecConditionBoostSpec.fromJson(
    core.Map json_)
    : this(
        boost: json_.containsKey('boost')
            ? (json_['boost'] as core.num).toDouble()
            : null,
        condition: json_.containsKey('condition')
            ? json_['condition'] as core.String
            : null,
      );