BountyCommunityMap.fromJson constructor

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

Implementation

factory BountyCommunityMap.fromJson(Map<String, dynamic> json) =>
    BountyCommunityMap(
      id: json["id"],
      bountyId: json["bounty_id"],
      communityId: json["community_id"],
      communityData: json["communityData"] == null
          ? null
          : CommunityData.fromJson(json["communityData"]),
    );