DriveCommentList.fromMap constructor
Implementation
factory DriveCommentList.fromMap(Map<String, dynamic> map) {
return DriveCommentList(
category: map['category'],
comments: map['comments'] != null
? List<DriveComment>.from(
map['comments']?.map((dynamic x) => DriveComment.fromMap(x)),
)
: <DriveComment>[],
nextCursor: map['nextCursor'],
);
}