GoogleCloudDialogflowV2AnnotatedMessagePart.fromJson constructor

GoogleCloudDialogflowV2AnnotatedMessagePart.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2AnnotatedMessagePart.fromJson(core.Map json_)
    : this(
        entityType: json_.containsKey('entityType')
            ? json_['entityType'] as core.String
            : null,
        formattedValue: json_.containsKey('formattedValue')
            ? json_['formattedValue']
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );