load method

Future<List<Quote>> load()

Load list of quotes

Implementation

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

  return QuoteList.fromJson(response).data;
}