// class ProviderServiceModel { // int? id; // String? description; // String? descriptionN; // String? serviceIconUrl; // String? serviceImageUrl; // int? serviceCategoryID; // bool? isActive; // String? categoryName; // bool? ispartial; // int? appointmentPricePercentage; // int? refundAmountPercentage; // bool? isSelected; // // ProviderServiceModel( // {this.id, // this.description, // this.descriptionN, // this.serviceIconUrl, // this.serviceImageUrl, // this.serviceCategoryID, // this.isActive, // this.categoryName, // this.ispartial, // this.appointmentPricePercentage, // this.refundAmountPercentage, // this.isSelected = false, // }); // // ProviderServiceModel.fromJson(Map json) { // id = json['id']; // description = json['description']; // descriptionN = json['descriptionN']; // serviceIconUrl = json['serviceIconUrl']; // serviceImageUrl = json['serviceImageUrl']; // serviceCategoryID = json['serviceCategoryID']; // isActive = json['isActive']; // categoryName = json['categoryName']; // ispartial = json['ispartial']; // appointmentPricePercentage = json['appointmentPricePercentage']; // refundAmountPercentage = json['refundAmountPercentage']; // isSelected = false; // } // // Map toJson() { // final Map data = {}; // data['id'] = id; // data['description'] = description; // data['descriptionN'] = descriptionN; // data['serviceIconUrl'] = serviceIconUrl; // data['serviceImageUrl'] = serviceImageUrl; // data['serviceCategoryID'] = serviceCategoryID; // data['isActive'] = isActive; // data['categoryName'] = categoryName; // data['ispartial'] = ispartial; // data['appointmentPricePercentage'] = appointmentPricePercentage; // data['refundAmountPercentage'] = refundAmountPercentage; // return data; // } // // @override // String toString() { // return 'ProviderServiceModel{id: $id, description: $description, descriptionN: $descriptionN, serviceIconUrl: $serviceIconUrl, serviceImageUrl: $serviceImageUrl, serviceCategoryID: $serviceCategoryID, isActive: $isActive, categoryName: $categoryName, ispartial: $ispartial, appointmentPricePercentage: $appointmentPricePercentage, refundAmountPercentage: $refundAmountPercentage, isSelected: $isSelected}'; // } // }