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