DeleteThreadResponse.fromJson constructor

DeleteThreadResponse.fromJson(
  1. Map<String, dynamic> json
)

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,
  );
}