clearChannelAttributes method
Clears all attributes of the channel.
Implementation
Future<void> clearChannelAttributes(
String channelId, bool enableNotificationToChannelMembers) async {
final res = await _callNative("clearChannelAttributes", {
"channelId": channelId,
"enableNotificationToChannelMembers": enableNotificationToChannelMembers,
});
if (res["errorCode"] != 0)
throw AgoraRtmClientException(
"clearChannelAttributes failed errorCode:${res['errorCode']}",
res['errorCode']);
}