Attachment constructor
const
Attachment({})
Attachment constructor. MUST NOT
be used manually
Use MailTm and AuthorizedUser
Implementation
const factory Attachment({
/// The attachment id.
required String id,
/// The attachment name.
@Default('') String name,
/// The attachment contentType.
@Default('') String type,
/// The attachment disposition.
required String disposition,
/// The attachment transferEncoding.
@Default('') encoding,
/// Undocumented, seems to always be true
required bool related,
/// The attachment size.
required int size,
/// The attachment downloadUrl.
required String downloadUrl,
}) = _Attachment;