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