ChatViewModel constructor

ChatViewModel(
  1. String conversationId,
  2. NIMConversationType conversationType, {
  3. bool showReadAck = true,
})

Implementation

ChatViewModel(this.conversationId, this.conversationType,
    {this.showReadAck = true}) {
  _setNIMMessageListener();
  initData();
}