Guild class

Data structure comprising information about a guild / board

Inheritance

Constructors

Guild(API api)
Guild.from(API api, Map<String, dynamic> data)
factory

Properties

api API
final
bannerUrl String?
data'banner_url'
getter/setter pair
color String?
data'color'
getter/setter pair
createdAt int?
data'created_utc'
getter/setter pairinherited
description Body?
data'description'; 'description_html'
getter/setter pair
flags GuildFlags?
data'is_banned'; 'is_private'; 'is_restricted'; 'is_siege_protected'; 'over_18'; 'disallowbots'
getter/setter pair
fullId String?
data'fullname'
getter/setter pairinherited
API.host + data'permalink'
getter/setter pairinherited
guildmasters List<User>?
data'guildmasters'
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iconUrl String?
data'profile_url'
getter/setter pair
id String?
data'id'
getter/setter pairinherited
name String?
data'name'
getter/setter pair
data'permalink'
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriberCount int?
data'subscriber_count'
getter/setter pair

Methods

fetchData(String name) Future
fetchPosts({SortType sortType = SortType.Hot, required int page, required int quantity}) Future<List<Post>>
Gets and returns a list of Posts in this guild
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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