@override Future<void> updateState(Map<String, dynamic>? newState) async { await _cacheApi.setMap(stateKey, newState); super.updateState(newState); }