Data constructor

Data({
  1. int? userId,
  2. String? userToken,
  3. int? expiry,
  4. String? email,
  5. String? username,
  6. String? firstName,
  7. String? lastName,
  8. String? avatar,
  9. String? createdAt,
})

Implementation

Data(
    {this.userId,
    this.userToken,
    this.expiry,
    this.email,
    this.username,
    this.firstName,
    this.lastName,
    this.avatar,
    this.createdAt});