toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (displayName != null) 'displayName': displayName!,
  if (geotargetArea != null) 'geotargetArea': geotargetArea!,
  if (merchantId != null) 'merchantId': merchantId!,
  if (postalCodeArea != null) 'postalCodeArea': postalCodeArea!,
  if (regionId != null) 'regionId': regionId!,
  if (regionalInventoryEligible != null)
    'regionalInventoryEligible': regionalInventoryEligible!,
  if (shippingEligible != null) 'shippingEligible': shippingEligible!,
};