listConversations method
Future<List<Conversation> >
listConversations({
- DateTime? start,
- DateTime? end,
- int? limit,
- SortDirection? sort = xmtp.SortDirection.SORT_DIRECTION_DESCENDING,
This lists all the Conversations for the user.
If start
or end
are specified then this will only list conversations
created at or after start
and at or before end
.
If limit
is specified then results are pulled in pages of that size.
If sort
is specified then that will control the sort order.
Implementation
Future<List<Conversation>> listConversations({
DateTime? start,
DateTime? end,
int? limit,
xmtp.SortDirection? sort = xmtp.SortDirection.SORT_DIRECTION_DESCENDING,
}) =>
_conversations.listConversations(start, end, limit, sort);