deleteRoomAttributes method

Future<int> deleteRoomAttributes(
  1. List<String> keys,
  2. MessageContent message
)

Implementation

Future<int> deleteRoomAttributes(List<String> keys, MessageContent message) async {
  Map<String, dynamic> arguments = {
    "keys": jsonEncode(keys),
    "object": message.getObjectName(),
    "content": message.encode(),
  };
  int? result = await _channel.invokeMethod('deleteRoomAttributes', arguments);
  return result ?? -1;
}