onFetch abstract method
Called when trying to fetch data for initial or on refreshing.
Must return a list of data as the result,
or throw an error
when it's failed to fetch.
Implementation
@protected
Future<RemoteList<T>> onFetch();
Called when trying to fetch data for initial or on refreshing.
Must return a list of data as the result,
or throw an error
when it's failed to fetch.
@protected
Future<RemoteList<T>> onFetch();