novel_comment.dart 226 B

1234567891011
  1. class NovelComment {
  2. late String nickname;
  3. late String avatar;
  4. late String content;
  5. NovelComment.fromJson(Map data) {
  6. nickname = data['nickName'];
  7. avatar = data['userPhoto'];
  8. content = data['text'];
  9. }
  10. }