ActiveContentVote.fromJson constructor
Implementation
factory ActiveContentVote.fromJson(Map<String, dynamic> json) {
return ActiveContentVote(
voter: json['voter'] ?? '',
percent: json['percent'] ?? 0,
reputation: json['reputation'] ?? 0,
rshares: json['rshares'] ?? 0,
time: json['time'] ?? '',
weight: json['weight'] ?? 0,
);
}