UserBadge constructor

UserBadge({
  1. required String id,
  2. required String userId,
  3. required String badgeId,
  4. required String fromTenantId,
  5. required DateTime createdAt,
  6. required int type,
  7. required int threshold,
  8. required String description,
  9. required String displayLabel,
  10. String? displaySrc,
  11. String? backgroundColor,
  12. String? borderColor,
  13. String? textColor,
  14. String? cssClass,
  15. required int veteranUserThresholdMillis,
  16. required bool displayedOnComments,
  17. required DateTime receivedAt,
  18. int? order,
  19. String? urlId,
})

Returns a new UserBadge instance.

Implementation

UserBadge({
  required this.id,
  required this.userId,
  required this.badgeId,
  required this.fromTenantId,
  required this.createdAt,
  required this.type,
  required this.threshold,
  required this.description,
  required this.displayLabel,
  this.displaySrc,
  this.backgroundColor,
  this.borderColor,
  this.textColor,
  this.cssClass,
  required this.veteranUserThresholdMillis,
  required this.displayedOnComments,
  required this.receivedAt,
  this.order,
  this.urlId,
});