FileMessageParams.withUrl constructor Null safety
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,
);