init static method

Future<void> init()

Initializes the storage system. Must be called before using any storage methods.

Implementation

static Future<void> init() async {
  _prefs = await SharedPreferences.getInstance();
}