decryptContent static method

Future<List<int>?> decryptContent(
  1. CacheOptions options,
  2. List<int>? bytes
)

Implementation

static Future<List<int>?> decryptContent(
  CacheOptions options,
  List<int>? bytes,
) {
  final checkedCipher = options.cipher;
  if (bytes != null && checkedCipher != null) {
    return checkedCipher.decrypt(bytes);
  }
  return Future.value(bytes);
}