GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson constructor
GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson(
- Map json_
Implementation
GoogleCloudContactcenterinsightsV1FaqAnswerData.fromJson(core.Map json_)
: this(
answer: json_.containsKey('answer')
? json_['answer'] as core.String
: null,
confidenceScore: json_.containsKey('confidenceScore')
? (json_['confidenceScore'] as core.num).toDouble()
: null,
metadata: json_.containsKey('metadata')
? (json_['metadata'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
queryRecord: json_.containsKey('queryRecord')
? json_['queryRecord'] as core.String
: null,
question: json_.containsKey('question')
? json_['question'] as core.String
: null,
source: json_.containsKey('source')
? json_['source'] as core.String
: null,
);