VoteSummary.fromJson constructor

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

Implementation

factory VoteSummary.fromJson(Map<String, dynamic> json) {
  return VoteSummary(
    memberId: json['MemberId'] as String?,
    memberName: json['MemberName'] as String?,
    vote: (json['Vote'] as String?)?.toVoteValue(),
  );
}