GoogleCloudDialogflowV2MessageAnnotation.fromJson constructor

GoogleCloudDialogflowV2MessageAnnotation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2MessageAnnotation.fromJson(core.Map json_)
    : this(
        containEntities: json_.containsKey('containEntities')
            ? json_['containEntities'] as core.bool
            : null,
        parts: json_.containsKey('parts')
            ? (json_['parts'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowV2AnnotatedMessagePart.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );