User constructor

User({
  1. required String id,
  2. String? name,
  3. String? surname,
  4. String? nickname,
  5. DateTime? birthDate,
  6. required bool verified,
  7. required String username,
  8. required String language,
  9. required String image,
})

Implementation

User(
    {required this.id,
    this.name,
    this.surname,
    this.nickname,
    this.birthDate,
    required this.verified,
    required this.username,
    required this.language,
    required this.image});