LinkAttachment constructor
Creates a LinkAttachment with the given name and URL.
name is the name of the link attachment.
url is the URI of the link.
Implementation
LinkAttachment({required super.name, required this.url, String? mimeType})
: mimeType =
mimeType ?? lookupMimeType(url.path) ?? 'application/octet-stream';