User constructor

User({
  1. required String userId,
  2. required String identityNumber,
  3. required UserRelationship? relationship,
  4. required String biography,
  5. required bool isVerified,
  6. required String muteUntil,
  7. required bool isScam,
  8. String? fullName,
  9. String? avatarUrl,
  10. String? phone,
  11. DateTime? createdAt,
  12. bool? hasPin,
  13. App? app,
  14. String? codeId,
  15. String? codeUrl,
  16. bool? isDeactivated,
})

Implementation

User({
  required this.userId,
  required this.identityNumber,
  required this.relationship,
  required this.biography,
  required this.isVerified,
  required this.muteUntil,
  required this.isScam,
  this.fullName,
  this.avatarUrl,
  this.phone,
  this.createdAt,
  this.hasPin,
  this.app,
  this.codeId,
  this.codeUrl,
  this.isDeactivated,
});