getMessageCount method

Future<int> getMessageCount(
  1. int status
)

Implementation

void setQuery(String? query){_query= query;}Future<int> getMessageCount(int status) async{if(0== _session){_session= await Mesibo.getInternal().createReadSession(_profile,_flags,_threadId,_query) as int;MesiboReadSession._addSession(_session,this);}
         return await Mesibo.getInternal().ReadSessionMessageCount(_session,status) as int;}