GoogleCloudDialogflowV2IntentMessageCardButton.fromJson constructor

GoogleCloudDialogflowV2IntentMessageCardButton.fromJson(
  1. Map json_
)

Implementation

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