Invoice class

Constructors

Invoice({required String customerName, required String invoiceNumber, required DateTime date, required List<InvoiceItem> items, required double tax, required double total, String? notes, String template = 'simple'})

Properties

customerName → String
final
date → DateTime
final
hashCode → int
The hash code for this object.
no setterinherited
invoiceNumber → String
final
items → List<InvoiceItem>
final
notes → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tax → double
final
template → String
final
total → double
final

Methods

copyWith({String? customerName, String? invoiceNumber, DateTime? date, List<InvoiceItem>? items, double? tax, double? total, String? notes, String? template}) → Invoice
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited