GoogleCloudDialogflowCxV3SearchConfig.fromJson constructor

GoogleCloudDialogflowCxV3SearchConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3SearchConfig.fromJson(core.Map json_)
    : this(
        boostSpecs: json_.containsKey('boostSpecs')
            ? (json_['boostSpecs'] as core.List)
                .map((value) => GoogleCloudDialogflowCxV3BoostSpecs.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        filterSpecs: json_.containsKey('filterSpecs')
            ? (json_['filterSpecs'] as core.List)
                .map((value) => GoogleCloudDialogflowCxV3FilterSpecs.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );