GoogleCloudRetailV2RuleTwowaySynonymsAction.fromJson constructor

GoogleCloudRetailV2RuleTwowaySynonymsAction.fromJson(
  1. Map json_
)

Implementation

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