removeChannel method

Future<String> removeChannel(
  1. RealtimeChannel channel
)

Implementation

Future<String> removeChannel(RealtimeChannel channel) async {
  final status = await channel.unsubscribe();
  if (channels.isEmpty) {
    disconnect();
  }
  return status;
}