DeleteThreadResponse class

The response from deleting a thread.

Annotations
  • @immutable

Constructors

DeleteThreadResponse({required String id, required String object, required bool deleted})
Creates a DeleteThreadResponse.
const
DeleteThreadResponse.fromJson(Map<String, dynamic> json)
Creates a DeleteThreadResponse from JSON.
factory

Properties

deleted bool
Whether the thread was deleted.
final
hashCode int
The hash code for this object.
no setteroverride
id String
The ID of the deleted thread.
final
object String
The object type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON.
toString() String
A string representation of this object.
override

Operators

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