CreateCommentResponse.fromJson constructor

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

Implementation

factory CreateCommentResponse.fromJson(Map<String, dynamic> json) {
  return CreateCommentResponse(
    comment: json['Comment'] != null
        ? Comment.fromJson(json['Comment'] as Map<String, dynamic>)
        : null,
  );
}