toJson method
Implementation
Map<String, dynamic> toJson() => {
"assessment_id": assessmentId,
"material_id": materialId,
"access": access,
"web_view": webView,
"mobile_view": mobileView,
"id": id,
"user_id": userId,
"user_name": userName,
"material_name": materialName,
"material_type": materialType,
"content_type": contentType,
"content_properties": contentProperties,
"title": title,
"content": content,
"banner_position": bannerPosition,
"banner_link": bannerLink,
"menu_identifier": menuIdentifier,
"identifier_type": identifierType,
"identifier_id": identifierId,
"identifier_name": identifierName,
"identifier_action": identifierAction,
"like_count": likeCount,
"dislike_count": dislikeCount,
"description": description,
"created_date": createdDate,
"view_count": viewCount,
"liked": liked,
};