CommunityResponse.fromJson constructor

CommunityResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CommunityResponse.fromJson(Map<String, dynamic> json) =>
    CommunityResponse(
      data: List<Community>.from(
        json["data"].map((x) => Community.fromJson(x)),
      ),
      links: Links.fromJson(json["links"]),
      meta: Meta.fromJson(json["meta"]),
    );