toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (listings != null) 'listings': listings!,
  if (offerTags != null) 'offerTags': offerTags!,
  if (packageName != null) 'packageName': packageName!,
  if (productId != null) 'productId': productId!,
  if (purchaseOptions != null) 'purchaseOptions': purchaseOptions!,
  if (regionsVersion != null) 'regionsVersion': regionsVersion!,
  if (restrictedPaymentCountries != null)
    'restrictedPaymentCountries': restrictedPaymentCountries!,
  if (taxAndComplianceSettings != null)
    'taxAndComplianceSettings': taxAndComplianceSettings!,
};