GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo.fromJson constructor

GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1ConversationTranscriptTranscriptSegmentWordInfo.fromJson(
    core.Map json_)
    : this(
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
        endOffset: json_.containsKey('endOffset')
            ? json_['endOffset'] as core.String
            : null,
        startOffset: json_.containsKey('startOffset')
            ? json_['startOffset'] as core.String
            : null,
        word: json_.containsKey('word') ? json_['word'] as core.String : null,
      );