UserBadgeProgress constructor

UserBadgeProgress({
  1. required String id,
  2. required String tenantId,
  3. required String userId,
  4. required String firstCommentId,
  5. required DateTime firstCommentDate,
  6. double? autoTrustFactor,
  7. double? manualTrustFactor,
  8. Map<String, double> progress = const {},
  9. DateTime? tosAcceptedAt,
})

Returns a new UserBadgeProgress instance.

Implementation

UserBadgeProgress({
  required this.id,
  required this.tenantId,
  required this.userId,
  required this.firstCommentId,
  required this.firstCommentDate,
  this.autoTrustFactor,
  this.manualTrustFactor,
  this.progress = const {},
  this.tosAcceptedAt,
});