compareAtPrice property

double get compareAtPrice

Implementation

double get compareAtPrice => productVariants.isEmpty
    ? 0
    : (productVariants.first.compareAtPrice == null
        ? 0
        : productVariants.first.compareAtPrice!.amount);