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