Fact constructor Null safety

Fact(
  1. String factText,
  2. String factAuthor,
  3. int factYear,
  4. int factMonth,
  5. int factDay,
  6. String factLanguage,
  7. String factLink,
  8. String factMedia,
  9. String? objectId,
  10. String? factArchivedLink
)

Default constructor.

Implementation

Fact(
    this.factText,
    this.factAuthor,
    this.factYear,
    this.factMonth,
    this.factDay,
    this.factLanguage,
    this.factLink,
    this.factMedia,
    this.objectId,
    this.factArchivedLink);