callFunction method
Implementation
bool callFunction(
int function,
Uint8List data, {
Channel sender = kAnyChannel,
bool forceLocal = false,
}) {
if (!isValidCall(function, sender)) return false;
functions[function]?.pipe.sendMessage(data);
return true;
}