setLocalUserAttributes method
Substitutes the local user’s attributes with new ones.
Implementation
Future<void> setLocalUserAttributes(
List<Map<String, String>> attributes) async {
final res = await _callNative("setLocalUserAttributes", {
"attributes": attributes,
});
if (res["errorCode"] != 0)
throw AgoraRtmClientException(
"setLocalUserAttributes failed errorCode:${res['errorCode']}",
res['errorCode']);
}