setChannelAttributes2 method
Future<void>
setChannelAttributes2(
- String channelId,
- List<
RtmChannelAttribute> attributes, [ - ChannelAttributeOptions? option
Substitutes the channel attributes with new ones.
Implementation
Future<void> setChannelAttributes2(
String channelId, List<RtmChannelAttribute> attributes,
[ChannelAttributeOptions? option]) {
return _callNative("setChannelAttributes", {
'channelId': channelId,
"attributes": jsonDecode(jsonEncode(attributes)),
"option": option?.toJson(),
});
}