INNER CODE UNIT · Dart

CommantsBeanCommants

kaina404/FlutterDouBan · lib/bean/comments_entity.dart:39

class CommantsBeanCommants {
	String subjectId;
	CommentsBeanCommentsAuthor author;
	CommentsBeanCommentsRating rating;
	String createdAt;
	String id;
	int usefulCount;
	String content;

	CommantsBeanCommants({this.subjectId, this.author, this.rating, this.createdAt, this.id, this.usefulCount, this.content});

	CommantsBeanCommants.fromJson(Map<String, dynamic> json) {
		subjectId = json['subject_id'];
		author = json['author'] != null ? new CommentsBeanCommentsAuthor.fromJson(json['author']) : null;
		rating = json['rating'] != null ? new CommentsBeanCommentsRating.fromJson(json['rating']) : null;
		createdAt = json['created_at'];
		id = json['id'];
		usefulCount = json['useful_count'];

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…