getChatProfileInfos method

Future<void> getChatProfileInfos(
  1. BuildContext context,
  2. CustomInfoProvider customInfoProvider
)

Implementation

Future<void> getChatProfileInfos(
    BuildContext context, CustomInfoProvider customInfoProvider) async {
  for (int i = 0; i < conversationsToForward.length; i++) {
    RCKChatProfileInfo chatProfileInfo = await customInfoProvider(
        message: null, conversation: conversationsToForward[i]);
    chatProfileInfos.add(chatProfileInfo);
  }
  notifyListeners();
}