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'];
}