BadgeModel constructor

const BadgeModel(
  1. int id,
  2. String title,
  3. String description,
  4. String imageUrl,
  5. double progress,
  6. OffsetDateTime? startedOn,
  7. OffsetDateTime? endedOn,
  8. OffsetDateTime? completedOn,
)

Implementation

const BadgeModel(
    this.id,
    this.title,
    this.description,
    this.imageUrl,
    this.progress,
    this.startedOn,
    this.endedOn,
    this.completedOn
);