GetInvoicesSummaryResponse constructor

GetInvoicesSummaryResponse({
  1. double? outstandingBalance,
  2. Iterable<InvoiceSummary>? invoices,
})

Implementation

factory GetInvoicesSummaryResponse({
  $core.double? outstandingBalance,
  $core.Iterable<InvoiceSummary>? invoices,
}) {
  final $result = create();
  if (outstandingBalance != null) {
    $result.outstandingBalance = outstandingBalance;
  }
  if (invoices != null) {
    $result.invoices.addAll(invoices);
  }
  return $result;
}