listFromJson static method
Implementation
static List<ConfigurationReportType> listFromJson(List<dynamic>? json) {
if (json == null) {
return <ConfigurationReportType>[];
}
return json.fold(<ConfigurationReportType>[],
(List<ConfigurationReportType> previousValue, element) {
final ConfigurationReportType? object =
ConfigurationReportType.fromJson(element);
if (object is ConfigurationReportType) {
previousValue.add(object);
}
return previousValue;
});
}