GoogleCloudContactcenterinsightsV1SentimentData.fromJson constructor

GoogleCloudContactcenterinsightsV1SentimentData.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1SentimentData.fromJson(core.Map json_)
    : this(
        magnitude: json_.containsKey('magnitude')
            ? (json_['magnitude'] as core.num).toDouble()
            : null,
        score: json_.containsKey('score')
            ? (json_['score'] as core.num).toDouble()
            : null,
      );