GuildScheduledEvent class
Represents a scheduled event of a Guild.
Constructors
- GuildScheduledEvent(Snowflake _id, Snowflake? _guildId, GuildChannel? _channel, GuildMember? _creator, String _name, String? _description, String _startTime, String? _endTime, int _status, int _entityType, Snowflake? _entityId, String? _image, String? _location)
- GuildScheduledEvent.from({required ChannelManager channelManager, required MemberManager memberManager, required dynamic payload})
-
factory
Properties
- channel → GuildChannel?
-
Get the GuildChannel of this.
no setter
- createdAt → DateTime
-
Get the creation date of this.
no setter
- creator → GuildMember?
-
Get the GuildMember of this.
no setter
- description → String?
-
Get the description of this.
no setter
- endTime → DateTime?
-
Get the end time of this.
no setter
- entityId → Snowflake?
-
Get the entity id of this.
no setter
- entityType → ScheduledEventEntityType
-
Get the ScheduledEventEntityType of this.
no setter
- guild → Guild?
-
Get the Guild of this.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
Get the id of this.
no setter
- image → String?
-
Get the image of this.
no setter
- location → String?
-
Get the location of this.
no setter
- name → String
-
Get the name of this.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime
-
Get the start time of this.
no setter
- status → ScheduledEventStatus
-
Get the ScheduledEventStatus of this.
no setter
Methods
-
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