build static method

Implementation

static Future<SharedPreferencesStorage> build() =>
    _lock.synchronized(() => SharedPreferences.getInstance()
        .then((p) => SharedPreferencesStorage._(p)));