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