User constructor

User({
  1. int? id,
  2. String? firstName,
  3. String? middleName,
  4. String? lastName,
  5. String? email,
  6. String? dob,
  7. String? phoneNumber,
  8. dynamic picture,
  9. String? city,
  10. String? country,
  11. String? state,
  12. String? address,
  13. String? code,
  14. String? zip,
  15. dynamic status,
  16. String? createdAt,
})

Implementation

User({
    this.id,
    this.firstName,
    this.middleName,
    this.lastName,
    this.email,
    this.dob,
    this.phoneNumber,
    this.picture,
    this.city,
    this.country,
    this.state,
    this.address,
    this.code,
    this.zip,
    this.status,
    this.createdAt,
});