GWAttachment class

Properties

disposition String
The attachment disposition.
final
encoding String
The attachment transferEncoding.
final
hashCode int
The hash code for this object.
no setterinherited
id String
The attachment id.
final
name String
The attachment name.
final
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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.