GetCommentOutput.fromJson constructor

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

Implementation

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