PullRequestComment constructor Null safety

PullRequestComment(
  1. {int? id,
  2. String? diffHunk,
  3. String? path,
  4. int? position,
  5. int? originalPosition,
  6. String? commitId,
  7. String? originalCommitId,
  8. User? user,
  9. String? body,
  10. DateTime? createdAt,
  11. DateTime? updatedAt,
  12. String? url,
  13. String? pullRequestUrl,
  14. Links? links}
)

Implementation

PullRequestComment({
  this.id,
  this.diffHunk,
  this.path,
  this.position,
  this.originalPosition,
  this.commitId,
  this.originalCommitId,
  this.user,
  this.body,
  this.createdAt,
  this.updatedAt,
  this.url,
  this.pullRequestUrl,
  this.links,
});