UserVotes.fromJSON constructor

UserVotes.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

UserVotes.fromJSON(Map<String, dynamic> json)
    : user = User.fromJSON(json['user']),
      votes = Utils.createStringList(json['votes']);