ResponseData.fromJson constructor
Implementation
factory ResponseData.fromJson(Map<String, dynamic> json) {
return ResponseData(
reports: (json['reports'] as List<dynamic>?)
?.map((e) => Report.fromJson(e as Map<String, dynamic>))
.toList(),
meta: json['meta'] != null
? Meta.fromJson(json['meta'] as Map<String, dynamic>)
: null,
);
}