this repo has no description
at main 14 lines 523 B view raw
1import 'package:freezed_annotation/freezed_annotation.dart'; 2 3part 'create_comment_response.freezed.dart'; 4part 'create_comment_response.g.dart'; 5 6/// Response model for creating a comment. 7/// See lexicon: social.grain.comment.createComment 8@freezed 9class CreateCommentResponse with _$CreateCommentResponse { 10 const factory CreateCommentResponse({required String commentUri}) = _CreateCommentResponse; 11 12 factory CreateCommentResponse.fromJson(Map<String, dynamic> json) => 13 _$CreateCommentResponseFromJson(json); 14}