CatBreedDetails.getData constructor
CatBreedDetails.getData(
- Map jsonResponse
Implementation
factory CatBreedDetails.getData(Map<dynamic, dynamic> jsonResponse) =>
CatBreedDetails(
breedName: jsonResponse["breedName"],
fullGrownSize: jsonResponse["fullGrownSize"],
maleMaxPrice: jsonResponse["maleMaxPrice"],
maleMinPrice: jsonResponse["maleMinPrice"],
femaleMaxPrice: jsonResponse["femaleMaxPrice"],
femaleMinPrice: jsonResponse["femaleMinPrice"],
maleMinFullGrownWeight: jsonResponse["maleMinFullGrownWeight"],
maleMaxFullGrownWeight: jsonResponse["maleMaxFullGrownWeight"],
femaleMinFullGrownWeight: jsonResponse["femaleMinFullGrownWeight"],
femaleMaxFullGrownWeight: jsonResponse["femaleMaxFullGrownWeight"],
maleMinFullGrownHeight: jsonResponse["maleMinFullGrownHeight"],
maleMaxFullGrownHeight: jsonResponse["maleMaxFullGrownHeight"],
femaleMinFullGrownHeight: jsonResponse["femaleMinFullGrownHeight"],
femaleMaxFullGrownHeight: jsonResponse["femaleMaxFullGrownHeight"],
coat: jsonResponse["coat"],
coatColors: jsonResponse["coatColors"],
temperament: jsonResponse["temperament"],
grooming: jsonResponse["grooming"],
shedding: jsonResponse["shedding"],
intelligence: jsonResponse["intelligence"],
socialNeeds: jsonResponse["socialNeeds"],
vocalization: jsonResponse["vocalization"],
dogFriendly: jsonResponse["dogFriendly"],
adaptability: jsonResponse["adaptability"],
childFriendly: jsonResponse["childFriendly"],
energyLevel: jsonResponse["energyLevel"],
weightGainPotential: jsonResponse["weightGainPotential"],
isLapCat: jsonResponse["isLapCat"],
isHypoAllergenic: jsonResponse["isHypoAllergenic"],
dailyFoodConsumption: jsonResponse["dailyFoodConsumption"],
weatherAndClimate: jsonResponse["weatherAndClimate"],
stinkiness: jsonResponse["stinkiness"],
minLifeSpan: jsonResponse["minLifeSpan"],
maxLifeSpan: jsonResponse["maxLifeSpan"],
minLitterSize: jsonResponse["minLitterSize"],
maxLitterSize: jsonResponse["maxLitterSize"],
photo1: jsonResponse["photo1"],
photo2: jsonResponse["photo2"],
photo3: jsonResponse["photo3"],
photo4: jsonResponse["photo4"],
photo5: jsonResponse["photo5"],
);