decryptFromBase64 method
Implementation
String decryptFromBase64({
required String text,
String? key,
String? iv,
}) {
iv ??= defaultIv;
key ??= defaultKey;
final encrypter = Encrypter(AES(Key.fromUtf8(key)));
return encrypter.decrypt64(text, iv: IV.fromBase64(iv));
}