GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.fromJson constructor

GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageMediaContentResponseMediaObject.fromJson(
    core.Map json_)
    : this(
        contentUrl: json_.containsKey('contentUrl')
            ? json_['contentUrl'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        icon: json_.containsKey('icon')
            ? GoogleCloudDialogflowV2IntentMessageImage.fromJson(
                json_['icon'] as core.Map<core.String, core.dynamic>)
            : null,
        largeImage: json_.containsKey('largeImage')
            ? GoogleCloudDialogflowV2IntentMessageImage.fromJson(
                json_['largeImage'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );