CropData constructor

CropData({
  1. required String id,
  2. required String name,
  3. required String description,
  4. required Map<String, WateringSchedule> wateringScheduleByRegion,
  5. required int growthDurationDays,
  6. String? imageUrl,
  7. List<String>? tips,
})

Implementation

CropData({
  required this.id,
  required this.name,
  required this.description,
  required this.wateringScheduleByRegion,
  required this.growthDurationDays,
  this.imageUrl,
  this.tips,
});