IamPolicyAnalysis.fromJson constructor
IamPolicyAnalysis.fromJson(
- Map json_
Implementation
IamPolicyAnalysis.fromJson(core.Map json_)
: this(
analysisQuery: json_.containsKey('analysisQuery')
? IamPolicyAnalysisQuery.fromJson(
json_['analysisQuery'] as core.Map<core.String, core.dynamic>)
: null,
analysisResults: json_.containsKey('analysisResults')
? (json_['analysisResults'] as core.List)
.map((value) => IamPolicyAnalysisResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
fullyExplored: json_.containsKey('fullyExplored')
? json_['fullyExplored'] as core.bool
: null,
nonCriticalErrors: json_.containsKey('nonCriticalErrors')
? (json_['nonCriticalErrors'] as core.List)
.map((value) => IamPolicyAnalysisState.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);