ChatMessageEvent constructor

ChatMessageEvent(
  1. {void onSuccess(
    1. String msgId,
    2. EMMessage msg
    )?,
  2. void onError(
    1. String msgId,
    2. EMMessage msg,
    3. EMError error
    )?,
  3. void onProgress(
    1. String msgId,
    2. int progress
    )?}
)

Implementation

ChatMessageEvent({
  this.onSuccess,
  this.onError,
  this.onProgress,
});