CardId.fromReview constructor

CardId.fromReview(
  1. Review review
)

Implementation

CardId.fromReview(Review review) {
  id = review.master;
  frontJoin = review.combination!.front!.join(',');
  backJoin = review.combination!.back!.join(',');
  time = review.ts;
  uniqueId = '$id#$frontJoin@$backJoin';
}