init static method
Initializes the storage system. Must be called before using any storage methods.
Implementation
static Future<void> init() async {
_prefs = await SharedPreferences.getInstance();
}
Initializes the storage system. Must be called before using any storage methods.
static Future<void> init() async {
_prefs = await SharedPreferences.getInstance();
}