UserBadge constructor
UserBadge({
- required String id,
- required String userId,
- required String badgeId,
- required String fromTenantId,
- required DateTime createdAt,
- required int type,
- required int threshold,
- required String description,
- required String displayLabel,
- String? displaySrc,
- String? backgroundColor,
- String? borderColor,
- String? textColor,
- String? cssClass,
- required int veteranUserThresholdMillis,
- required bool displayedOnComments,
- required DateTime receivedAt,
- int? order,
- 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,
});