load method

Load list of invoices

Implementation

Future<List<RecurringInvoice>> load() async {
  final response = await WebClient().get(
      '${InvoiceNinjaAdmin.url}/api/v1/recurring_invoices',
      token: InvoiceNinjaAdmin.token);

  return RecurringInvoiceList.fromJson(response).data;
}