getPaidZnnFunds method

int getPaidZnnFunds()

Implementation

int getPaidZnnFunds() {
  var amount = 0;
  phases.forEach((phase) {
    if (phase.status == AcceleratorProjectStatus.paid) {
      amount += phase.znnFundsNeeded;
    }
  });
  return amount;
}