setAttributes method

Future<void> setAttributes(
  1. Map<String, String> attributes
)

Implementation

Future<void> setAttributes(Map<String, String> attributes) async {
  Conversation? conversation = await ChatUIKit.instance.getConversation(
      conversationId: profile.id,
      type: profile.type == ChatUIKitProfileType.group
          ? ConversationType.GroupChat
          : ConversationType.Chat);
  await conversation?.setExt(attributes);
}