responseFactory method
Implementation
@override
List<PostReportView> responseFactory(Map<String, dynamic> json) =>
(json['post_reports'] as List)
.map((dynamic e) => PostReportView.fromJson(e))
.toList();
@override
List<PostReportView> responseFactory(Map<String, dynamic> json) =>
(json['post_reports'] as List)
.map((dynamic e) => PostReportView.fromJson(e))
.toList();