updateSortMessageByServerTimeSetting method
Future<void>
updateSortMessageByServerTimeSetting( - bool sortMessageByServerTime
)
Implementation
Future<void> updateSortMessageByServerTimeSetting(
bool sortMessageByServerTime) async {
Map req = {'sortMessageByServerTime': sortMessageByServerTime};
Map result = await ClientChannel.invokeMethod(
ChatMethodKeys.updateSortMessageByServerTimeSetting, req);
try {
EMError.hasErrorFromResult(result);
_options =
_options?.copyWith(sortMessageByServerTime: sortMessageByServerTime);
} on EMError catch (e) {
throw e;
}
}