toJson method
Implementation
Map<String, dynamic> toJson() {
return {
if (merchantCode != null) 'merchant_code': merchantCode!,
if (businessName != null) 'business_name': businessName!,
if (companyRegistrationNumber != null)
'company_registration_number': companyRegistrationNumber!,
if (vatId != null) 'vat_id': vatId!,
if (website != null) 'website': website!,
if (email != null) 'email': email!,
if (language != null) 'language': language!,
if (address != null) 'address': address!.toJson(),
};
}