ComplianceRule.fromJson constructor
ComplianceRule.fromJson(
- Map json_
Implementation
ComplianceRule.fromJson(core.Map json_)
: this(
apiLevelCondition: json_.containsKey('apiLevelCondition')
? ApiLevelCondition.fromJson(json_['apiLevelCondition']
as core.Map<core.String, core.dynamic>)
: null,
disableApps: json_.containsKey('disableApps')
? json_['disableApps'] as core.bool
: null,
nonComplianceDetailCondition:
json_.containsKey('nonComplianceDetailCondition')
? NonComplianceDetailCondition.fromJson(
json_['nonComplianceDetailCondition']
as core.Map<core.String, core.dynamic>)
: null,
packageNamesToDisable: json_.containsKey('packageNamesToDisable')
? (json_['packageNamesToDisable'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);