total property

double total

Implementation

double get total => _details.fold(
      0,
      (sum, next) => sum + (next.lineTotal),
    );