EndlessFetcher<T> constructor Null safety

EndlessFetcher<T>(
  1. {Future<List<T>?> fetchForIndex(
    1. int index
    )?,
  2. VoidCallback? onFetch}
)