postData method
Implementation
Map<String, dynamic> postData() => {
'id': id,
'name': name,
'petType': petType,
'breed': breed,
'dateOfBirth': dateOfBirth,
'color': color,
'gender': gender,
'isAvailable': isAvailable,
'isCertified': isCertified,
'currentOwnerId': currentOwnerId,
'cost': cost,
'rating': rating,
'photo1': photo1,
'photo2': photo2,
'photo3': photo3,
'photo4': photo4,
'photo5': photo5,
};