GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData.fromJson constructor
GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData.fromJson(
- Map json_
Implementation
GoogleCloudContactcenterinsightsV1SmartComposeSuggestionData.fromJson(
core.Map json_)
: this(
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,
suggestion: json_.containsKey('suggestion')
? json_['suggestion'] as core.String
: null,
);