GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.fromJson constructor

GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2GenerateStatelessSummaryResponseSummary.fromJson(
    core.Map json_)
    : this(
        baselineModelVersion: json_.containsKey('baselineModelVersion')
            ? json_['baselineModelVersion'] as core.String
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
        textSections: json_.containsKey('textSections')
            ? (json_['textSections'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );