ThreadBuilder class Null safety

Inheritance

Constructors

ThreadBuilder(String? name)
Create a public thread
ThreadBuilder.private(String? name)
Create a private thread

Properties

archiveAfter ThreadArchiveTime
The time after which the thread is automatically archived.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String?
The name fo the thread
read / write
private bool
Whether or not the thread is private
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setArchiveAfter(ThreadArchiveTime time) → void
Set the time after which the thread automatically archives itself.
setPrivate() → void
Make the thread private
setPublic() → void
Make the thread public
toString() String
A string representation of this object. [...]
inherited

Operators

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