BatchGetReportsOutput.fromJson constructor
Implementation
factory BatchGetReportsOutput.fromJson(Map<String, dynamic> json) {
return BatchGetReportsOutput(
reports: (json['reports'] as List?)
?.whereNotNull()
.map((e) => Report.fromJson(e as Map<String, dynamic>))
.toList(),
reportsNotFound: (json['reportsNotFound'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}