GoogleCloudDialogflowV2IntentMessageCard.fromJson constructor

GoogleCloudDialogflowV2IntentMessageCard.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2IntentMessageCard.fromJson(core.Map json_)
    : this(
        buttons: (json_['buttons'] as core.List?)
            ?.map((value) =>
                GoogleCloudDialogflowV2IntentMessageCardButton.fromJson(
                    value as core.Map<core.String, core.dynamic>))
            .toList(),
        imageUri: json_['imageUri'] as core.String?,
        subtitle: json_['subtitle'] as core.String?,
        title: json_['title'] as core.String?,
      );