GoogleCloudDialogflowCxV3Match.fromJson constructor

GoogleCloudDialogflowCxV3Match.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3Match.fromJson(core.Map json_)
  : this(
      confidence: (json_['confidence'] as core.num?)?.toDouble(),
      event: json_['event'] as core.String?,
      intent: json_.containsKey('intent')
          ? GoogleCloudDialogflowCxV3Intent.fromJson(
              json_['intent'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      matchType: json_['matchType'] as core.String?,
      parameters: json_.containsKey('parameters')
          ? json_['parameters'] as core.Map<core.String, core.dynamic>
          : null,
      resolvedInput: json_['resolvedInput'] as core.String?,
    );