GoogleCloudDialogflowCxV3Match.fromJson constructor

GoogleCloudDialogflowCxV3Match.fromJson(
  1. Map json_
)

Implementation

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