isMutedStream property

Stream<bool> isMutedStream

Returns true if the channel is muted, as a stream.

Implementation

Stream<bool> get isMutedStream => _client.state.currentUserStream
    .map((event) =>
        event?.channelMutes.any((element) => element.channel.cid == cid) ==
        true)
    .distinct();