PlanModel constructor

const PlanModel({
  1. required String id,
  2. required String imgURL,
  3. required String title,
  4. required PlanModelCategory category,
  5. required Map<String, PlanLevel> levels,
  6. required String createdBy,
  7. Map<String, dynamic>? rawJSON,
})

Implementation

const PlanModel({
  required this.id,
  required this.imgURL,
  required this.title,
  required this.category,
  required this.levels,
  required this.createdBy,
  this.rawJSON,
});