listConversations static method
Lists conversations [from
, to
) in which the current user participates.
Implementation
static Future<List<Conversation>> listConversations({
int from = 0,
int to = 10,
}) async {
MercuryRequest req = await _req();
req.from = from;
req.to = to;
MercuryResponse res = await _client.listConversations(req);
return res.conversations;
}