tax property

double get tax

Implementation

double get tax => taxRate != null ? subtotal * taxRate! : 0;