getInstance static method

Future<CoreStoreCacheXImpl> getInstance({
  1. String? password,
})

Implementation

static Future<CoreStoreCacheXImpl> getInstance({String? password}) async {
  if (_instance == null) {
    await CacheXCore().init(
      password: password != null ? password : 'flutter_sdk',
    );
    _instance = CoreStoreCacheXImpl._internal();
  }
  return _instance!;
}