deleteChannel method

Future<void> deleteChannel(
  1. Channel channel
)

Deletes the channel and updates the list.

Implementation

Future<void> deleteChannel(Channel channel) async {
  await channel.delete();
}