FileMessageParams.withUrl constructor
Implementation
FileMessageParams.withUrl(
String fileUrl, {
String? mimeType,
int? size,
String? name,
}) : uploadFile = FileInfo.fromUrl(
name: name ?? 'image',
mimeType: mimeType ?? 'image/jpeg',
url: fileUrl,
fileSize: size,
);