Tip constructor

Tip({
  1. String id = '',
  2. String senderId = '',
  3. String senderName = '',
  4. String senderAvatarUrl = '',
  5. String recipientId = '',
  6. String recipientName = '',
  7. TipTier tier = TipTier.cafe,
  8. double amount = 0,
  9. String? message,
  10. String? contextType,
  11. String? contextId,
  12. int createdTime = 0,
})

Implementation

Tip({
  this.id = '',
  this.senderId = '',
  this.senderName = '',
  this.senderAvatarUrl = '',
  this.recipientId = '',
  this.recipientName = '',
  this.tier = TipTier.cafe,
  this.amount = 0,
  this.message,
  this.contextType,
  this.contextId,
  this.createdTime = 0,
});