Issue constructor

const Issue({
  1. required String id,
  2. required String identifier,
  3. required String title,
  4. required String state,
  5. String? description,
  6. int? priority,
  7. String? branchName,
  8. String? url,
  9. List<String> labels = const <String>[],
  10. List<IssueBlocker> blockedBy = const <IssueBlocker>[],
  11. DateTime? createdAt,
  12. DateTime? updatedAt,
})

Creates a normalized issue.

Implementation

const Issue({
  required this.id,
  required this.identifier,
  required this.title,
  required this.state,
  this.description,
  this.priority,
  this.branchName,
  this.url,
  this.labels = const <String>[],
  this.blockedBy = const <IssueBlocker>[],
  this.createdAt,
  this.updatedAt,
});