price property

double get price

Implementation

double get price =>
    productVariants.isEmpty ? 0 : productVariants.first.price.amount;