Screen2.fromMap constructor

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

Implementation

factory Screen2.fromMap(Map<String, dynamic> json) => Screen2(
      heading: Caption.fromMap(json["heading"]),
      body: Caption.fromMap(json["body"]),
      cta: Caption.fromMap(json["cta"]),
      bgImageId: json["bgImageId"],
      bgImageUrl: json["bgImageUrl"],
    );