ChatDownloadCallback class

The group shared download callback.

Constructors

ChatDownloadCallback({void onSuccess(String fileId, String path)?, void onError(String fileId, ChatError error)?, void onProgress(String fileId, int progress)?})
Create a group shared file download callback.

Properties

hashCode int
The hash code for this object.
read-onlyinherited
onError → (void Function(String fileId, ChatError error)?)
Download error callback.
final
onProgress → (void Function(String fileId, int progress)?)
Download progress callback.
final
onSuccess → (void Function(String fileId, String path)?)
Download success callback.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited