Comment.fromJson constructor

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

Implementation

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