totalSavingAmount property

double totalSavingAmount

Implementation

double get totalSavingAmount => isOnlinePriceValid?
    (onlinePrice  - discountPrice).toPrecision(2) : 0;