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,
name: json_.containsKey('name') ? json_['name'] as core.String : 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,
);