User constructor

User({
  1. String uid = "",
  2. required String name,
  3. String? avatar,
  4. String? link,
  5. String? role,
  6. String? status,
  7. String? statusMessage,
  8. DateTime? lastActiveAt,
  9. List<String>? tags,
  10. Map<String, dynamic>? metadata,
  11. bool? hasBlockedMe,
  12. bool? blockedByMe,
})

Implementation

User({
  this.uid = "",
  required this.name,
  this.avatar,
  this.link,
  this.role,
  this.status,
  this.statusMessage,
  this.lastActiveAt,
  this.tags,
  this.metadata,
  this.hasBlockedMe,
  this.blockedByMe,
});