User constructor

User({
  1. required String? name,
  2. required String id,
  3. String? avatarUrl,
  4. bool isOnline = false,
  5. bool isVerified = false,
  6. Color? color,
})

Implementation

User(
    {required this.name,
    required this.id,
    this.avatarUrl,
    this.isOnline = false,
    this.isVerified = false,
    this.color});