@override Future<T?> fetchState() async { T? state = await _cacheApi.getValue(stateKey) as T?; _sharedState = state; return state; }