InvoiceAdminRepository class

Invoice Admin Repository

Constructors

InvoiceAdminRepository()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

findById(String id) Future<Invoice?>
Find an invoice by its id
findByNumber(String number) Future<Invoice?>
Find an invoice by its number
load() Future<List<Invoice>>
Load list of invoices
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
save(Invoice invoice, {InvoiceAction? action}) Future<Invoice>
Persist invoice to the server
toString() String
A string representation of this object.
inherited

Operators

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