toString method

  1. @override
String toString()
override

Return the contents of this class as a string

Implementation

@override
String toString() {
  return 'productId: $productId, '
      'price: $price, '
      'currency: $currency, '
      'localizedPrice: $localizedPrice, '
      'title: $title, '
      'description: $description, '
      'introductoryPrice: $introductoryPrice, '
      'subscriptionPeriodNumberIOS: $subscriptionPeriodNumberIOS, '
      'subscriptionPeriodUnitIOS: $subscriptionPeriodUnitIOS, '
      'introductoryPricePaymentModeIOS: $introductoryPricePaymentModeIOS, '
      'introductoryPriceNumberOfPeriodsIOS: $introductoryPriceNumberOfPeriodsIOS, '
      'introductoryPriceSubscriptionPeriodIOS: $introductoryPriceSubscriptionPeriodIOS, '
      'subscriptionPeriodAndroid: $subscriptionPeriodAndroid, '
      'iconUrl: $iconUrl, '
      'originalJson: $originalJson, '
      'originalPrice: $originalPrice, '
      'discounts: $discountsIOS, ';
}