ListThreadsResponse class
List Threads Response structure
https://discord.com/developers/docs/resources/channel#list-public-archived-threads-response-body
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
ListThreadsResponse({required List<
Channel> threads, required List<ThreadMember> members, bool? hasMore}) - Constructor
-
ListThreadsResponse.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool?
-
whether there are potentially additional threads that could be returned on a subsequent call
final
-
members
→ List<
ThreadMember> -
a thread member object for each returned thread the current user has
joined
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
threads
→ List<
Channel> -
the threads
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited