GithubMilestoneValue constructor

const GithubMilestoneValue({
  1. int? id,
  2. int? number,
  3. String? state,
  4. String? title,
  5. String? description,
  6. String? nodeId,
  7. @refParam GithubUserModelRef? creator,
  8. @Default.new(0) int openIssuesCount,
  9. @Default.new(0) int closedIssuesCount,
  10. ModelUri? url,
  11. ModelUri? htmlUrl,
  12. ModelUri? labelsUrl,
  13. ModelTimestamp? dueOn,
  14. ModelTimestamp? closedAt,
  15. @Default.new(ModelTimestamp.now()) ModelTimestamp createdAt,
  16. @Default.new(ModelTimestamp.now()) ModelTimestamp updatedAt,
})

Model for managing Github milestones.

Githubのマイルストーンを管理するためのモデル。

Implementation

const factory GithubMilestoneValue({
  int? id,
  int? number,
  String? state,
  String? title,
  String? description,
  String? nodeId,
  @refParam GithubUserModelRef? creator,
  @Default(0) int openIssuesCount,
  @Default(0) int closedIssuesCount,
  ModelUri? url,
  ModelUri? htmlUrl,
  ModelUri? labelsUrl,
  ModelTimestamp? dueOn,
  ModelTimestamp? closedAt,
  @Default(ModelTimestamp.now()) ModelTimestamp createdAt,
  @Default(ModelTimestamp.now()) ModelTimestamp updatedAt,
}) = _GithubMilestoneValue;