Channel constructor
Implementation
Channel(this._name, this._rtHashCode) {
platform.invokeMethod(
rtHashCode: _rtHashCode,
method: "Channel()",
args: {
"channelName": _name,
"stateCallback": platform.allowInterop(_stateCallback),
},
);
}