Attachment constructor
Attachment({
- Attachment_ContentType? contentType,
- String? fileName,
- List<
int> ? fileContents,
Implementation
factory Attachment({
Attachment_ContentType? contentType,
$core.String? fileName,
$core.List<$core.int>? fileContents,
}) {
final $result = create();
if (contentType != null) {
$result.contentType = contentType;
}
if (fileName != null) {
$result.fileName = fileName;
}
if (fileContents != null) {
$result.fileContents = fileContents;
}
return $result;
}