setDescription method

Future<String> setDescription(
  1. String newName
)

Call the SDN API to change the topic of this room.

Implementation

Future<String> setDescription(String newName) => client.setRoomStateWithKey(
      id,
      EventTypes.RoomTopic,
      '',
      {'topic': newName},
    );