build static method

Future<SharedPreferencesStorage> build({
  1. String prefix = 'oip',
})

Implementation

static Future<SharedPreferencesStorage> build({String prefix = 'oip'}) =>
    _lock.synchronized(() => SharedPreferences.getInstance()
        .then((p) => SharedPreferencesStorage(p, prefix: prefix)));