part method

void part(
  1. String channel, {
  2. String? reason,
})

Leave a channel.

Implementation

void part(String channel, {String? reason}) {
  _alive();
  command({'type': 'part', 'channel': channel, 'reason': reason});
}