isMuted property

bool isMuted

Returns true if the channel is muted.

Implementation

bool get isMuted =>
    _client.state.currentUser?.channelMutes
        .any((element) => element.channel.cid == cid) ==
    true;