RichContent.fromJson constructor

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

Implementation

RichContent.fromJson(Map<String, dynamic> json) {
  carousel = json['carousel'];
  img1 = json['img1'];
  img2 = json['img2'];
  img3 = json['img3'];
  img4 = json['img4'];
  img5 = json['img5'];
}