GoogleAppsCardV1OnClick.fromJson constructor

GoogleAppsCardV1OnClick.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1OnClick.fromJson(core.Map json_)
    : this(
        action: json_.containsKey('action')
            ? GoogleAppsCardV1Action.fromJson(
                json_['action'] as core.Map<core.String, core.dynamic>)
            : null,
        card: json_.containsKey('card')
            ? GoogleAppsCardV1Card.fromJson(
                json_['card'] as core.Map<core.String, core.dynamic>)
            : null,
        openDynamicLinkAction: json_.containsKey('openDynamicLinkAction')
            ? GoogleAppsCardV1Action.fromJson(json_['openDynamicLinkAction']
                as core.Map<core.String, core.dynamic>)
            : null,
        openLink: json_.containsKey('openLink')
            ? GoogleAppsCardV1OpenLink.fromJson(
                json_['openLink'] as core.Map<core.String, core.dynamic>)
            : null,
      );