Attachment class Null safety
A message attachment.
- Inheritance
- Object
- SnowflakeEntity
- Attachment
Properties
- createdAt → DateTime
-
Gets creation timestamp included in Snowflake
read-only, inherited
- filename ↔ String
-
The attachment's filename.
read / write, final, late
- hashCode → int
-
The hash code for this object. [...]
read-only, override
- height ↔ int?
-
The attachment's height, if an image.
read / write, final, late
- id → Snowflake
-
ID of entity as Snowflake
final, inherited
- isSpoiler → bool
-
Indicates if attachment is spoiler
read-only
- proxyUrl ↔ String?
-
The attachment's proxy URL.
read / write, final, late
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- size ↔ int
-
The attachment's file size.
read / write, final, late
- url ↔ String
-
The attachment's URL.
read / write, final, late
- width ↔ int?
-
The attachment's width, if an image.
read / write, final, late
Methods
-
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 ==(
dynamic other) → bool -
The equality operator. [...]
override