getConversationById static method

Future getConversationById(
  1. String id
)

Retrieves a conversation by id.

Implementation

static Future<Conversation> getConversationById(String id) async {
  MercuryRequest req = await _req();
  req.conversation = Conversation(id: id);

  MercuryResponse res = await _client.getConversationById(req);
  return res.conversation;
}