User constructor

User({
  1. required String displayName,
  2. required String name,
  3. required String id,
  4. String? icon,
})

Implementation

User({
  required this.displayName,
  required this.name,
  required this.id,
  this.icon,
});