GoogleAppsCardV1CardHeader.fromJson constructor

GoogleAppsCardV1CardHeader.fromJson(
  1. Map json_
)

Implementation

GoogleAppsCardV1CardHeader.fromJson(core.Map json_)
    : this(
        imageAltText: json_.containsKey('imageAltText')
            ? json_['imageAltText'] as core.String
            : null,
        imageType: json_.containsKey('imageType')
            ? json_['imageType'] as core.String
            : null,
        imageUrl: json_.containsKey('imageUrl')
            ? json_['imageUrl'] as core.String
            : null,
        subtitle: json_.containsKey('subtitle')
            ? json_['subtitle'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );