1import 'package:freezed_annotation/freezed_annotation.dart';
2
3part 'delete_comment_response.freezed.dart';
4part 'delete_comment_response.g.dart';
5
6/// Response model for deleting a comment.
7/// See lexicon: social.grain.comment.deleteComment
8@freezed
9class DeleteCommentResponse with _$DeleteCommentResponse {
10 const factory DeleteCommentResponse({required bool success}) = _DeleteCommentResponse;
11
12 factory DeleteCommentResponse.fromJson(Map<String, dynamic> json) =>
13 _$DeleteCommentResponseFromJson(json);
14}