Screen1.fromMap constructor

Screen1.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Screen1.fromMap(Map<String, dynamic> json) => Screen1(
      heading: Caption.fromMap(json["heading"]),
      caption: Caption.fromMap(json["caption"]),
      taskHeading: Task.fromMap(json["taskHeading"]),
      taskCaption: Task.fromMap(json["taskCaption"]),
      taskCardColor: json["taskCardColor"],
      taskIconId: json["taskIconId"],
      progressBarColor1: json["progressBarColor1"],
      progressBarColor2: json["progressBarColor2"],
      bgColor: json["bgColor"],
      bannerImageId: json["bannerImageId"],
      bannerImageUrl: json["bannerImageUrl"],
      taskIconUrl: json["taskIconUrl"],
    );