NewsListData.fromJson constructor

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

Implementation

factory NewsListData.fromJson(Map<String, dynamic> json) => NewsListData(
      assessmentId: json["assessment_id"],
      materialId: json["material_id"],
      access: json["access"],
      webView: json["web_view"],
      mobileView: json["mobile_view"],
      id: json["id"],
      userId: json["user_id"],
      userName: json["user_name"],
      materialName: json["material_name"],
      materialType: json["material_type"],
      contentType: json["content_type"],
      contentProperties: json["content_properties"],
      title: json["title"],
      content: json["content"],
      bannerPosition: json["banner_position"],
      bannerLink: json["banner_link"],
      menuIdentifier: json["menu_identifier"],
      identifierType: json["identifier_type"],
      identifierId: json["identifier_id"],
      identifierName: json["identifier_name"],
      identifierAction: json["identifier_action"],
      description: json["description"],
      createdDate: json["created_date"],
    );