init method
初始化:从磁盘恢复索引
Implementation
Future<void> init() async {
if (_initialized) return;
final keysJson = CacheServiceCore.getList<String>(_indexKey);
if (keysJson != null && keysJson.isNotEmpty) {
_keysIndex.addAll(keysJson);
}
_initialized = true;
}