dispatchBackgroundDecrypt method

  1. @override
Future<List> dispatchBackgroundDecrypt(
  1. List args
)
override

Uses compute to do decryption in the background.

Implementation

@override
Future<List> dispatchBackgroundDecrypt(List args) async {
  return await compute(
    _computeDecrypt,
    [secretKeyLength, nonceLength, ...args],
    debugLabel: 'BackgroundAesGcm.decrypt',
  );
}