GoogleAppsCardV1Image.fromJson constructor

GoogleAppsCardV1Image.fromJson(
  1. Map json_
)

Implementation

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