PetModel constructor

PetModel({
  1. String? id,
  2. String? name,
  3. required String petType,
  4. required String breed,
  5. required String dateOfBirth,
  6. required String color,
  7. required bool gender,
  8. required bool isAvailable,
  9. required bool isCertified,
  10. required String currentOwnerId,
  11. int? cost,
  12. int? rating,
  13. String? photo1,
  14. String? photo2,
  15. String? photo3,
  16. String? photo4,
  17. String? photo5,
})

Implementation

PetModel({
  this.id,
  this.name,
  required this.petType,
  required this.breed,
  required this.dateOfBirth,
  required this.color,
  required this.gender,
  required this.isAvailable,
  required this.isCertified,
  required this.currentOwnerId,
  this.cost,
  this.rating,
  this.photo1,
  this.photo2,
  this.photo3,
  this.photo4,
  this.photo5,
});