load method
Load list of invoices
Implementation
Future<List<Invoice>> load() async {
final response = await WebClient().get(
'${InvoiceNinjaAdmin.url}/api/v1/invoices',
token: InvoiceNinjaAdmin.token);
return InvoiceList.fromJson(response).data;
}