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 {
Map req = {'userId': userId, "remark": remark};
Map result = await _channel.invokeMethod(
ChatMethodKeys.setContactRemark,
req,
);
try {
ChatError.hasErrorFromResult(result);
} on ChatError catch (e) {
throw e;
}
}