GoogleCloudRetailV2RuleDoNotAssociateAction.fromJson constructor

GoogleCloudRetailV2RuleDoNotAssociateAction.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRetailV2RuleDoNotAssociateAction.fromJson(core.Map json_)
    : this(
        doNotAssociateTerms: json_.containsKey('doNotAssociateTerms')
            ? (json_['doNotAssociateTerms'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        queryTerms: json_.containsKey('queryTerms')
            ? (json_['queryTerms'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        terms: json_.containsKey('terms')
            ? (json_['terms'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );