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