initialize static method
Initialize the EncryptedSharedPreferences with the provided encryption key.
Implementation
static Future<void> initialize(String key, {IEncryptor? encryptor}) async {
_key = key;
_decorator = SharedPreferencesDecoratorAsync(
encryptor: encryptor ?? AESEncryptor(), key: _key!);
}