putLoadResultToState abstract method

  1. @protected
void putLoadResultToState({
  1. required Query query,
  2. required LoadResult loadResult,
  3. required LoadingKey loadingKey,
})
inherited

The function needs an implementation of adding loaded records to the list state.

You may also need to implement resetting the loading status in the list state object (like ...isLoading = false).

Implementation

@protected
void putLoadResultToState(
    {required Query query,
    required LoadResult loadResult,
    required LoadingKey loadingKey});