compareAtPriceFormattedWithLocale method

String compareAtPriceFormattedWithLocale(
  1. String? locale
)

Implementation

String compareAtPriceFormattedWithLocale(String? locale) =>
    productVariants.isEmpty
        ? ''
        : (productVariants.first.compareAtPrice == null
            ? ''
            : productVariants.first.compareAtPrice!
                .formattedPriceWithLocale(locale));