GoogleAppsCardV1Grid.fromJson constructor
GoogleAppsCardV1Grid.fromJson(
- Map json_
Implementation
GoogleAppsCardV1Grid.fromJson(core.Map json_)
: this(
borderStyle: json_.containsKey('borderStyle')
? GoogleAppsCardV1BorderStyle.fromJson(
json_['borderStyle'] as core.Map<core.String, core.dynamic>)
: null,
columnCount: json_.containsKey('columnCount')
? json_['columnCount'] as core.int
: null,
items: json_.containsKey('items')
? (json_['items'] as core.List)
.map((value) => GoogleAppsCardV1GridItem.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
onClick: json_.containsKey('onClick')
? GoogleAppsCardV1OnClick.fromJson(
json_['onClick'] as core.Map<core.String, core.dynamic>)
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
);