onProgress property

(void Function(String msgId, int progress)?) onProgress
final

Occurs when there is a progress for message upload or download. This event is triggered when a message is being uploaded or downloaded.

Param msgId The ID of the message that is being uploaded or downloaded.

Param progress The upload or download progress.

Implementation

final void Function(String msgId, int progress)? onProgress;