VotingPower.fromJson constructor
Implementation
factory VotingPower.fromJson(Map<String, dynamic> json) => VotingPower(
upvotePower:
json["upvotepower"] != null
? double.tryParse(json["upvotepower"].toString())
: null,
downvotePower:
json["downvote"] != null
? double.tryParse(json["downvote"].toString())
: null,
);