ThreadBuilder class

Inheritance

Constructors

ThreadBuilder({required String name, Duration? autoArchiveDuration, required ChannelType type, bool? invitable, Duration? rateLimitPerUser})
ThreadBuilder.privateThread({required String name, Duration? autoArchiveDuration, bool? invitable, Duration? rateLimitPerUser})
ThreadBuilder.publicThread({required String name, Duration? autoArchiveDuration, Duration? rateLimitPerUser})

Properties

autoArchiveDuration Duration?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invitable bool?
getter/setter pair
name String
getter/setter pair
rateLimitPerUser Duration?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ChannelType
getter/setter pair

Methods

build() Map<String, Object?>
override
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

Constants

archiveOneDay → const Duration
archiveOneHour → const Duration
archiveOneWeek → const Duration
archiveThreeDays → const Duration