GoogleCloudContactcenterinsightsV1Entity.fromJson constructor
GoogleCloudContactcenterinsightsV1Entity.fromJson(
- Map json_
Implementation
GoogleCloudContactcenterinsightsV1Entity.fromJson(core.Map json_)
: this(
displayName: json_['displayName'] as core.String?,
metadata: (json_['metadata'] as core.Map<core.String, core.dynamic>?)
?.map((key, value) => core.MapEntry(key, value as core.String)),
salience: (json_['salience'] as core.num?)?.toDouble(),
sentiment: json_.containsKey('sentiment')
? GoogleCloudContactcenterinsightsV1SentimentData.fromJson(
json_['sentiment'] as core.Map<core.String, core.dynamic>,
)
: null,
type: json_['type'] as core.String?,
);