equal method

Implementation

bool equal(MonthlyInvoiceSummaryModel other) {
  for (var i = 0; i < other.customerSummaries.length; ++i) {
    if (other.customerSummaries[i] != customerSummaries[i]) {
      return false;
    }
  }
  return true;
}