totalPayments property
double
totalPayments
Implementation
double get totalPayments =>
_payments.fold(0.0, (previousValue, curr) => curr.amount);
double get totalPayments =>
_payments.fold(0.0, (previousValue, curr) => curr.amount);