Voted.fromJson constructor

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

Implementation

Voted.fromJson(Map<String, dynamic> json)
    : this(
        json['id'],
        json['commentId'],
        json['votes'],
        json['vote'],
        json['userId'],
      );