init static method
Implementation
static Future init() async {
if (_sharedPreferences == null) {
await _lock.synchronized(() async {
_sharedPreferences ??= await SharedPreferences.getInstance();
});
}
}
static Future init() async {
if (_sharedPreferences == null) {
await _lock.synchronized(() async {
_sharedPreferences ??= await SharedPreferences.getInstance();
});
}
}