DeleteThreadResponse.fromJson constructor
Creates a DeleteThreadResponse from JSON.
Implementation
factory DeleteThreadResponse.fromJson(Map<String, dynamic> json) {
return DeleteThreadResponse(
id: json['id'] as String,
object: json['object'] as String,
deleted: json['deleted'] as bool,
);
}