onFetch abstract method

  1. @protected
Future<T> onFetch()

Called when trying to fetch data. Must return the fetched data or throw an error if it's failed to fetch.

Implementation

@protected
Future<T> onFetch();