TMAttachment class Null safety

Properties

disposition String
The attachment disposition.
final
encoding String
The attachment transferEncoding.
final
hashCode int
The hash code for this object.
read-only, inherited
id String
The attachment id.
final
name String
The attachment name.
final
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size int
The attachment size.
final
type String
The attachment contentType.
final
url String
The attachment downloadUrl.
final

Methods

download() Future<Uint8List>
Downloads the attachment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromUrl(String url) Future<String>
Download the attachment from the server.