Article constructor

Article(
  1. {required int id,
  2. required String title,
  3. required String subtitle,
  4. required String headerImage,
  5. required String fullArticleLink,
  6. String? source,
  7. int? linkedCampaignId,
  8. DateTime? releasedAt}
)

Implementation

Article({
  required this.id,
  required this.title,
  required this.subtitle,
  required this.headerImage,
  required this.fullArticleLink,
  this.source,
  this.linkedCampaignId,
  this.releasedAt,
});