Release constructor Null safety

Release(
  1. {int? id,
  2. String? url,
  3. String? htmlUrl,
  4. String? tarballUrl,
  5. String? uploadUrl,
  6. String? nodeId,
  7. String? tagName,
  8. String? targetCommitish,
  9. String? name,
  10. String? body,
  11. String? description,
  12. bool? isDraft,
  13. bool? isPrerelease,
  14. DateTime? createdAt,
  15. DateTime? publishedAt,
  16. User? author,
  17. List<ReleaseAsset>? assets}
)

Implementation

Release({
  this.id,
  this.url,
  this.htmlUrl,
  this.tarballUrl,
  this.uploadUrl,
  this.nodeId,
  this.tagName,
  this.targetCommitish,
  this.name,
  this.body,
  this.description,
  this.isDraft,
  this.isPrerelease,
  this.createdAt,
  this.publishedAt,
  this.author,
  this.assets,
});