AIAttachment.imageUrl constructor
- String url
Creates an image attachment from a URL.
Implementation
factory AIAttachment.imageUrl(String url) {
return AIAttachment(
type: AIAttachmentType.image,
url: url,
);
}
Creates an image attachment from a URL.
factory AIAttachment.imageUrl(String url) {
return AIAttachment(
type: AIAttachmentType.image,
url: url,
);
}