Comment.fromJson constructor

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

Implementation

factory Comment.fromJson(Map<String, dynamic> json) {
  return Comment()
    ..commentorEmail = json["commentorEmail"]
    ..commentText = json["commentText"];
}