areParamsVaild<A, B, C> method
- C? cipherText,
- A? key,
- {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);
}