areParamsVaild<A, B, C> method

void areParamsVaild<A, B, C>(
  1. C? cipherText,
  2. A? key,
  3. {CipherOptions? options}
)

The areParamsVaild method is a helper method that checks if the parameters passed to the encrypt and decrypt methods are valid.

Implementation

void areParamsVaild<A, B, C>(C? cipherText, A? key,
    {CipherOptions? options}) {
  assert(cipherText != null && key != null);
}