getConversationList method Null safety

Future<V2TimValueCallback<V2TimConversationResult>> getConversationList(
  1. {required String nextSeq,
  2. required int count}
)

Get the conversation list

  A session corresponds to a chat window, such as a 1v1 chat with a friend, or a chat group, which is a session. 
 Since the number of historical sessions may be large, this interface expects you to call by paging query. 
 This interface pulls the locally cached session. If the server session is updated, the SDK will automatically synchronize it, and then notify the client in the V2TIMConversationListener callback. 
 The session list obtained by this interface is sorted by session lastMessage -> timestamp by default. The larger the timestamp, the higher the session. 
 If the session is all pulled, the value of the isFinished field in the V2TIMConversationResult in the successful callback will be true. 
 The most recent 5000 conversations can be pulled. 

Parameter

The cursor of nextSeq	 paging pull, the first time fetching and passing 0 by default, the subsequent paging pull pass the number of nextSeq
count	 paging pull in the successful callback of the last paging pull, one paging pull should not be too many, It will affect the speed of pulling, it is recommended to pull 100 sessions at a time

Implementation

Future<V2TimValueCallback<V2TimConversationResult>> getConversationList({
  required String nextSeq,
  required int count,
}) async {
  return ImFlutterPlatform.instance.getConversationList(
    nextSeq: nextSeq,
    count: count,
  );
}