getInvoicesByStatus method

  1. @override
Future<List<InvoiceReadModel>> getInvoicesByStatus(
  1. InvoiceStatus status, {
  2. String? walletId,
})
override

Get all invoices with a specific status, newest first.

Equivalent to listInvoices(status: status, walletId: walletId).

Implementation

@override
Future<List<InvoiceReadModel>> getInvoicesByStatus(
  InvoiceStatus status, {
  String? walletId,
}) =>
    listInvoices(walletId: walletId, status: status);