CommunityData.fromJson constructor

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

Implementation

factory CommunityData.fromJson(Map<String, dynamic> json) => CommunityData(
      id: json["id"],
      communityName: json["community_name"],
    );