release method
Releases a RealtimeChannel object with a specified name
, deleting it.
It also removes any listeners associated with the channel. To release a
channel, the ChannelState must be INITIALIZED
, DETACHED
, or
FAILED
.
Implementation
@override
void release(String name) {
realtime.invoke<void>(PlatformMethod.releaseRealtimeChannel, {
TxTransportKeys.channelName: name,
});
super.release(name);
}