EMDownloadCallback class Null safety

The group shared download callback.

Constructors

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

Properties

hashCode int
The hash code for this object.
read-only, inherited
onError → (void Function?(String fileId, EMError 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-only, inherited

Methods

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

Operators

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