class VendorRegisterModel { String name; String number; String email; String? location; String? pincode; String? aadharCard; String? panCard; String? drivingLicense; String? passport; String userId; VendorRegisterModel({ required this.name, required this.number, required this.email, this.location, this.pincode, this.aadharCard, this.panCard, this.drivingLicense, this.passport, this.userId = '', }); Map toJson() => { 'name': name, 'number': number, 'email': email, 'location': location, 'pincode': pincode, 'aadhar_card': aadharCard, 'pan_card': panCard, 'driving_license': drivingLicense, 'passport': passport, 'user_id': userId, }; }