WebApp.fromJson constructor
WebApp.fromJson(
- Map json_
Implementation
WebApp.fromJson(core.Map json_)
: this(
displayMode: json_.containsKey('displayMode')
? json_['displayMode'] as core.String
: null,
icons: json_.containsKey('icons')
? (json_['icons'] as core.List)
.map((value) => WebAppIcon.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
isPublished: json_.containsKey('isPublished')
? json_['isPublished'] as core.bool
: null,
startUrl: json_.containsKey('startUrl')
? json_['startUrl'] as core.String
: null,
title:
json_.containsKey('title') ? json_['title'] as core.String : null,
versionCode: json_.containsKey('versionCode')
? json_['versionCode'] as core.String
: null,
webAppId: json_.containsKey('webAppId')
? json_['webAppId'] as core.String
: null,
);