ContentPageModel.fromJson constructor Null safety

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

Implementation

factory ContentPageModel.fromJson(Map<String, dynamic> json) =>
    ContentPageModel(
      id: json["id"],
      name: json["name"],
      title: json["title"],
      content: json["content"],
      pageDescription: json["pageDescription"],
      imageUrl: json["imageURL"],
      showImage: json["showImage"],
    );