Optional internet check — enables offline caching when provided.
final Future<bool> Function()? checkInternetConnection;