ApplicationPolicy.fromJson constructor
ApplicationPolicy.fromJson(
- Map json_
Implementation
ApplicationPolicy.fromJson(core.Map json_)
: this(
accessibleTrackIds: json_.containsKey('accessibleTrackIds')
? (json_['accessibleTrackIds'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
alwaysOnVpnLockdownExemption:
json_.containsKey('alwaysOnVpnLockdownExemption')
? json_['alwaysOnVpnLockdownExemption'] as core.String
: null,
autoUpdateMode: json_.containsKey('autoUpdateMode')
? json_['autoUpdateMode'] as core.String
: null,
connectedWorkAndPersonalApp:
json_.containsKey('connectedWorkAndPersonalApp')
? json_['connectedWorkAndPersonalApp'] as core.String
: null,
credentialProviderPolicy:
json_.containsKey('credentialProviderPolicy')
? json_['credentialProviderPolicy'] as core.String
: null,
defaultPermissionPolicy: json_.containsKey('defaultPermissionPolicy')
? json_['defaultPermissionPolicy'] as core.String
: null,
delegatedScopes: json_.containsKey('delegatedScopes')
? (json_['delegatedScopes'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
disabled: json_.containsKey('disabled')
? json_['disabled'] as core.bool
: null,
extensionConfig: json_.containsKey('extensionConfig')
? ExtensionConfig.fromJson(json_['extensionConfig']
as core.Map<core.String, core.dynamic>)
: null,
installConstraint: json_.containsKey('installConstraint')
? (json_['installConstraint'] as core.List)
.map((value) => InstallConstraint.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
installPriority: json_.containsKey('installPriority')
? json_['installPriority'] as core.int
: null,
installType: json_.containsKey('installType')
? json_['installType'] as core.String
: null,
lockTaskAllowed: json_.containsKey('lockTaskAllowed')
? json_['lockTaskAllowed'] as core.bool
: null,
managedConfiguration: json_.containsKey('managedConfiguration')
? json_['managedConfiguration']
as core.Map<core.String, core.dynamic>
: null,
managedConfigurationTemplate:
json_.containsKey('managedConfigurationTemplate')
? ManagedConfigurationTemplate.fromJson(
json_['managedConfigurationTemplate']
as core.Map<core.String, core.dynamic>)
: null,
minimumVersionCode: json_.containsKey('minimumVersionCode')
? json_['minimumVersionCode'] as core.int
: null,
packageName: json_.containsKey('packageName')
? json_['packageName'] as core.String
: null,
permissionGrants: json_.containsKey('permissionGrants')
? (json_['permissionGrants'] as core.List)
.map((value) => PermissionGrant.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
workProfileWidgets: json_.containsKey('workProfileWidgets')
? json_['workProfileWidgets'] as core.String
: null,
);