GoogleAppsCardV1GridItem.fromJson constructor
GoogleAppsCardV1GridItem.fromJson(
- Map json_
Implementation
GoogleAppsCardV1GridItem.fromJson(core.Map json_)
: this(
id: json_.containsKey('id') ? json_['id'] as core.String : null,
image: json_.containsKey('image')
? GoogleAppsCardV1ImageComponent.fromJson(
json_['image'] as core.Map<core.String, core.dynamic>)
: null,
layout: json_.containsKey('layout')
? json_['layout'] as core.String
: null,
subtitle: json_.containsKey('subtitle')
? json_['subtitle'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);