GoogleChromeManagementV1ChromeAppInfo.fromJson constructor
GoogleChromeManagementV1ChromeAppInfo.fromJson(
- Map json_
Implementation
GoogleChromeManagementV1ChromeAppInfo.fromJson(core.Map json_)
: this(
googleOwned: json_.containsKey('googleOwned')
? json_['googleOwned'] as core.bool
: null,
isCwsHosted: json_.containsKey('isCwsHosted')
? json_['isCwsHosted'] as core.bool
: null,
isExtensionPolicySupported:
json_.containsKey('isExtensionPolicySupported')
? json_['isExtensionPolicySupported'] as core.bool
: null,
isKioskOnly: json_.containsKey('isKioskOnly')
? json_['isKioskOnly'] as core.bool
: null,
isTheme: json_.containsKey('isTheme')
? json_['isTheme'] as core.bool
: null,
kioskEnabled: json_.containsKey('kioskEnabled')
? json_['kioskEnabled'] as core.bool
: null,
minUserCount: json_.containsKey('minUserCount')
? json_['minUserCount'] as core.int
: null,
permissions: json_.containsKey('permissions')
? (json_['permissions'] as core.List)
.map((value) =>
GoogleChromeManagementV1ChromeAppPermission.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
siteAccess: json_.containsKey('siteAccess')
? (json_['siteAccess'] as core.List)
.map((value) =>
GoogleChromeManagementV1ChromeAppSiteAccess.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
supportEnabled: json_.containsKey('supportEnabled')
? json_['supportEnabled'] as core.bool
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);