ActiveVote.fromJson constructor

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

Implementation

factory ActiveVote.fromJson(Map<String, dynamic> json) => ActiveVote(
      voter: json['voter'],
      rshares: json['rshares'],
      percent: json['percent'],
      reputation: json['reputation'],
      time: json['time'],
      weight: json['weight'],
    );