toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['customer_id'] = this.customerId;
  data['rating'] = this.rating;
  data['review'] = this.review;
  data['service_id'] = this.serviceId;
  data['booking_id'] = this.bookingId;
  data['handyman_id'] = this.handymanId;
  data['handyman_name'] = this.handymanName;
  data['handyman_profile_image'] = this.handymanProfileImage;
  data['customer_name'] = this.customerName;
  data['customer_profile_image'] = this.customerProfileImage;
  data['created_at'] = this.createdAt;
  return data;
}