UnityPrivacyApi constructor
UnityPrivacyApi({
- BinaryMessenger? binaryMessenger,
- String messageChannelSuffix = '',
Constructor for UnityPrivacyApi. The binaryMessenger
named argument is
available for dependency injection. If it is left null, the default
BinaryMessenger will be used which routes to the host platform.
Implementation
UnityPrivacyApi(
{BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
: __pigeon_binaryMessenger = binaryMessenger,
__pigeon_messageChannelSuffix =
messageChannelSuffix.isNotEmpty ? '.$messageChannelSuffix' : '';