createChatRoom method
To create a new ChatRoom.
name
is the Conversation.name.
attributes
is the Conversation.attributes.
Returns an instance of ChatRoom.
Implementation
Future<ChatRoom> createChatRoom({
String? name,
Map<String, dynamic>? attributes,
}) async {
return await _createConversation(
type: _ConversationType.transient,
name: name,
attributes: attributes,
);
}