toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (budgetInvoiceGroupingId != null)
        'budgetInvoiceGroupingId': budgetInvoiceGroupingId!,
      if (budgetSummaries != null) 'budgetSummaries': budgetSummaries!,
      if (correctedInvoiceId != null)
        'correctedInvoiceId': correctedInvoiceId!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (displayName != null) 'displayName': displayName!,
      if (dueDate != null) 'dueDate': dueDate!,
      if (invoiceId != null) 'invoiceId': invoiceId!,
      if (invoiceType != null) 'invoiceType': invoiceType!,
      if (issueDate != null) 'issueDate': issueDate!,
      if (name != null) 'name': name!,
      if (nonBudgetMicros != null) 'nonBudgetMicros': nonBudgetMicros!,
      if (paymentsAccountId != null) 'paymentsAccountId': paymentsAccountId!,
      if (paymentsProfileId != null) 'paymentsProfileId': paymentsProfileId!,
      if (pdfUrl != null) 'pdfUrl': pdfUrl!,
      if (purchaseOrderNumber != null)
        'purchaseOrderNumber': purchaseOrderNumber!,
      if (replacedInvoiceIds != null)
        'replacedInvoiceIds': replacedInvoiceIds!,
      if (serviceDateRange != null) 'serviceDateRange': serviceDateRange!,
      if (subtotalAmountMicros != null)
        'subtotalAmountMicros': subtotalAmountMicros!,
      if (totalAmountMicros != null) 'totalAmountMicros': totalAmountMicros!,
      if (totalTaxAmountMicros != null)
        'totalTaxAmountMicros': totalTaxAmountMicros!,
    };