GoogleCloudRetailV2RuleBoostAction.fromJson constructor

GoogleCloudRetailV2RuleBoostAction.fromJson(
  1. Map json_
)

Implementation

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