WcPointsAndRewardUser.fromJson(Map<String, dynamic> json) { id = json['id']; points = json['points']; value = json['value']; }