InvoiceSummary constructor

InvoiceSummary({
  1. String? id,
  2. Timestamp? invoiceDate,
  3. double? invoiceAmount,
  4. String? status,
  5. Timestamp? dueDate,
  6. Timestamp? paidDate,
})

Implementation

factory InvoiceSummary({
  $core.String? id,
  $44.Timestamp? invoiceDate,
  $core.double? invoiceAmount,
  $core.String? status,
  $44.Timestamp? dueDate,
  $44.Timestamp? paidDate,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (invoiceDate != null) {
    $result.invoiceDate = invoiceDate;
  }
  if (invoiceAmount != null) {
    $result.invoiceAmount = invoiceAmount;
  }
  if (status != null) {
    $result.status = status;
  }
  if (dueDate != null) {
    $result.dueDate = dueDate;
  }
  if (paidDate != null) {
    $result.paidDate = paidDate;
  }
  return $result;
}