OrgPolicyResult.fromJson constructor
OrgPolicyResult.fromJson(
- Map json_
Implementation
OrgPolicyResult.fromJson(core.Map json_)
: this(
consolidatedPolicy: json_.containsKey('consolidatedPolicy')
? AnalyzerOrgPolicy.fromJson(json_['consolidatedPolicy']
as core.Map<core.String, core.dynamic>)
: null,
folders: json_.containsKey('folders')
? (json_['folders'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
organization: json_.containsKey('organization')
? json_['organization'] as core.String
: null,
policyBundle: json_.containsKey('policyBundle')
? (json_['policyBundle'] as core.List)
.map((value) => AnalyzerOrgPolicy.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
project: json_.containsKey('project')
? json_['project'] as core.String
: null,
);