defaultChannelPolicy property
Default CryptographyChannelPolicy for communicating with the plugin.
The values were chosen experimentally by observing performance.
Implementation
static final CryptographyChannelPolicy defaultChannelPolicy =
CryptographyChannelPolicy(
// Experimentally chosen value.
minLength: 2000,
// A too high value causes crashes on Android.
maxLength: CryptographyChannelQueue.defaultInstance.maxConcurrentSize,
);