ServerAsset class final

Constructors

ServerAsset({required Snowflake serverId, required EmojiManager emojis, required StickerManager stickers, required ImageAsset? icon, required ImageAsset? splash, required ImageAsset? banner, required ImageAsset? discoverySplash})

Properties

final
discoverySplash ImageAsset?
final
emojis EmojiManager
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon ImageAsset?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake
final
splash ImageAsset?
final
stickers StickerManager
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setBanner(File banner, {String? reason}) Future<void>
setDiscoverySplash(File discoverySplash, {String? reason}) Future<void>
setIcon(File icon, {String? reason}) Future<void>
setSplash(File splash, {String? reason}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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