unpin method

Future<Member?> unpin()

Unpins the channel.

Implementation

Future<Member?> unpin() async {
  _checkInitialized();

  final response = await _client.unpinChannel(
    channelId: id!,
    channelType: type,
  );

  return response.channelMember;
}