GoogleAppsCardV1CardAction.fromJson constructor

GoogleAppsCardV1CardAction.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1CardAction.fromJson(core.Map json_)
    : this(
        actionLabel: json_.containsKey('actionLabel')
            ? json_['actionLabel'] as core.String
            : null,
        onClick: json_.containsKey('onClick')
            ? GoogleAppsCardV1OnClick.fromJson(
                json_['onClick'] as core.Map<core.String, core.dynamic>)
            : null,
      );