CoreMLPlatformApi constructor
CoreMLPlatformApi({
- BinaryMessenger? binaryMessenger,
- String messageChannelSuffix = '',
Constructor for CoreMLPlatformApi. 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
CoreMLPlatformApi({
BinaryMessenger? binaryMessenger,
String messageChannelSuffix = '',
}) : pigeonVar_binaryMessenger = binaryMessenger,
pigeonVar_messageChannelSuffix = messageChannelSuffix.isNotEmpty
? '.$messageChannelSuffix'
: '';