ChatUser constructor

ChatUser({
  1. required String userId,
  2. required String username,
  3. bool isOnline = false,
  4. DateTime? lastSeen,
  5. String? avatarUrl,
})

Constructor

Implementation

ChatUser({
  required this.userId,
  required this.username,
  this.isOnline = false,
  this.lastSeen,
  this.avatarUrl,
});