setContactRemark method
Set the contact's remark.
Throws A description of the exception. See ChatError.
Implementation
Future<void> setContactRemark({
required String userId,
required String remark,
}) async {
try {
Map req = {'userId': userId, "remark": remark};
Map result = await platform_interface.Client.instance.contactManager
.callNativeMethod(ChatMethodKeys.setContactRemark, req);
ChatError.hasErrorFromResult(result);
} catch (e) {
rethrow;
}
}