PropertyCarouselImage.fromJson constructor

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

Implementation

factory PropertyCarouselImage.fromJson(Map<String, dynamic> json) => PropertyCarouselImage(
      uuid: json['uuid'],
      position: json['position'],
      carouselImage: PropertyContent<MediaResourceImage>.fromJson(json['carousel_image']),
      imageCaption: PropertyContent<MediaResourceRichText>.fromJson(json['image_caption']),
    );