getInstance static method

Future<SharedPreferences> getInstance()

Loads and parses the SharedPreferences for this app from disk.

Implementation

static Future<SharedPreferences> getInstance() async => instance;