User constructor Null safety

User(
  1. {int? id,
  2. String? login,
  3. String? avatarUrl,
  4. String? htmlUrl,
  5. bool? siteAdmin,
  6. String? name,
  7. String? company,
  8. String? blog,
  9. String? location,
  10. String? email,
  11. bool? hirable,
  12. String? bio,
  13. int? publicReposCount,
  14. int? publicGistsCount,
  15. int? followersCount,
  16. int? followingCount,
  17. DateTime? createdAt,
  18. DateTime? updatedAt}
)

Implementation

User({
  this.id,
  this.login,
  this.avatarUrl,
  this.htmlUrl,
  this.siteAdmin,
  this.name,
  this.company,
  this.blog,
  this.location,
  this.email,
  this.hirable,
  this.bio,
  this.publicReposCount,
  this.publicGistsCount,
  this.followersCount,
  this.followingCount,
  this.createdAt,
  this.updatedAt,
});