If true, the refresh method will fetch new data when the current state is Error.
Default is false.
final bool willRefreshOnError;