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