GenerateConfigReportResponse.fromJson constructor
GenerateConfigReportResponse.fromJson(
- Map json_
Implementation
GenerateConfigReportResponse.fromJson(core.Map json_)
: this(
changeReports: json_.containsKey('changeReports')
? (json_['changeReports'] as core.List)
.map((value) => ChangeReport.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
diagnostics: json_.containsKey('diagnostics')
? (json_['diagnostics'] as core.List)
.map((value) => Diagnostic.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
serviceName: json_.containsKey('serviceName')
? json_['serviceName'] as core.String
: null,
);