addChannel method
Implementation
addChannel(String name, FlutterJsChannelCallbak fn,
{String? dartChannelAddress}) {
_channels[name] = fn;
_methodChannel.invokeMethod(
"registerChannel",
{
"engineId": id,
"channelName": name,
"dartChannelAddress": dartChannelAddress
},
);
}