toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fullName != null) 'fullName': fullName!,
      if (invoiceReceivingEmail != null)
        'invoiceReceivingEmail': invoiceReceivingEmail!,
      if (loyaltyInfo != null) 'loyaltyInfo': loyaltyInfo!,
      if (marketingRightsInfo != null)
        'marketingRightsInfo': marketingRightsInfo!,
    };