User constructor

User({
  1. int? id,
  2. required String name,
  3. String? firstName,
  4. String? ref,
  5. String? photoCard,
})

Returns a new User instance.

Implementation

User({
  this.id,
  required this.name,
  this.firstName,
  this.ref,
  this.photoCard,
});