sendImage abstract method
Future<SendImageResponse>
sendImage(
- AttachmentFile image,
- String channelId,
- String channelType, {
- ProgressCallback? onSendProgress,
- CancelToken? cancelToken,
- Map<
String, Object?> ? extraData,
Uploads a image
to the given channel.
Returns SendImageResponse once sent successfully.
Optionally, access upload progress using onSendProgress
and cancel the request using cancelToken
Implementation
Future<SendImageResponse> sendImage(
AttachmentFile image,
String channelId,
String channelType, {
ProgressCallback? onSendProgress,
CancelToken? cancelToken,
Map<String, Object?>? extraData,
});