GoogleAppsCardV1Icon.fromJson constructor
GoogleAppsCardV1Icon.fromJson(
- Map json_
Implementation
GoogleAppsCardV1Icon.fromJson(core.Map json_)
: this(
altText: json_.containsKey('altText')
? json_['altText'] as core.String
: null,
iconUrl: json_.containsKey('iconUrl')
? json_['iconUrl'] as core.String
: null,
imageType: json_.containsKey('imageType')
? json_['imageType'] as core.String
: null,
knownIcon: json_.containsKey('knownIcon')
? json_['knownIcon'] as core.String
: null,
materialIcon: json_.containsKey('materialIcon')
? GoogleAppsCardV1MaterialIcon.fromJson(
json_['materialIcon'] as core.Map<core.String, core.dynamic>)
: null,
);