createChannel method
This function create new channels on which client and server can communicate.
There are one default channel which is created by shiSock inself can be
used for all kind of communications.
channels
should be of type "list of string", meaning we can create multiple
channels just with one call to createChannel function.
Example:
createChannel(channels: ["one", "two", "three"])
Implementation
void createChannel({required List<String> channels}) {
if (_channel.length > 2) {
print("createChannel is already being called once");
} else {
_channel.addAll(channels);
}
}