getConversations method

FutureOr<ConversationModel> getConversations({
  1. required String id,
})

Implementation

FutureOr<ConversationModel> getConversations({required String id}) async {
  try {
    final response = await _conversationClient.getConversations(id);
    //log(response.toString());
    return response;
  } catch (e) {
    //log(e.toString());
    rethrow;
  }
}