GuildPreview class

Constructors

GuildPreview({required String id, required String name, String? icon, String? splash, String? discoverySplash, required List<Emoji> emojis, required List<GuildFeature> features, required int approximateMemberCount, required int approximatePresenceCount, String? description})

Properties

approximateMemberCount int
final
approximatePresenceCount int
final
description String?
final
discoverySplash String?
final
emojis List<Emoji>
final
features List<GuildFeature>
final
hashCode int
The hash code for this object.
no setterinherited
icon String?
final
id String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splash String?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) GuildPreview