CommentUpdate.fromJson constructor

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

Implementation

factory CommentUpdate.fromJson(Map<String, dynamic> json) {
  return CommentUpdate(json['id'], Comment.fromJson(json['model']));
}