AttachmentInfo class
Information about a file that is attached
Constructors
- AttachmentInfo(File? file, MediaType mediaType, String? name, int? size, ContentDisposition? contentDisposition, Uint8List? data, PartBuilder part)
- Creates a new attachment info
Properties
- contentDisposition → ContentDisposition?
-
The content disposition
final
- data → Uint8List?
-
The associated data
final
- file → File?
-
The associated file
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mediaType → MediaType
-
The media type
final
- name → String?
-
The name of the attachment
final
- part → PartBuilder
-
The related builder
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int?
-
The size of the attachment in bytes
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited