User constructor

User(
  1. {int id,
  2. String firstName,
  3. String lastName,
  4. String username,
  5. String phoneNumber,
  6. UserStatus status,
  7. ProfilePhoto profilePhoto,
  8. bool isContact,
  9. bool isMutualContact,
  10. bool isVerified,
  11. bool isSupport,
  12. String restrictionReason,
  13. bool isScam,
  14. bool haveAccess,
  15. UserType type,
  16. String languageCode}
)

Represents a user

Implementation

User(
    {this.id,
    this.firstName,
    this.lastName,
    this.username,
    this.phoneNumber,
    this.status,
    this.profilePhoto,
    this.isContact,
    this.isMutualContact,
    this.isVerified,
    this.isSupport,
    this.restrictionReason,
    this.isScam,
    this.haveAccess,
    this.type,
    this.languageCode});