AttachmentBuilder class

Constructors

AttachmentBuilder(List<int> content, {String? filename, String? description})
AttachmentBuilder.base64(String content, {required String filename, String? description})
Create an attachment from a base64 string
factory
AttachmentBuilder.file(String path, {String? description, String? overrideFilename})
Create an attachment from a path
factory

Properties

content List<int>
getter/setter pair
description String?
getter/setter pair
filename String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFile(int id) → MultipartFile
toJson({int? id}) Object
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited