GoogleCloudDialogflowV2MessageEntry.fromJson constructor

GoogleCloudDialogflowV2MessageEntry.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2MessageEntry.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        languageCode: json_.containsKey('languageCode')
            ? json_['languageCode'] as core.String
            : null,
        role: json_.containsKey('role') ? json_['role'] as core.String : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );