Carousel.fromJson constructor

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

Implementation

factory Carousel.fromJson(Map<String, dynamic> json) => Carousel(
  topicImage: json["topicImage"],
  activityId: json["activityId"],
  topicId: json["topicId"],
  sourceType: json["sourceType"],
  link: json["link"],
  topicName: json["topicName"],
);