Slide.fromJson constructor
id that contain int value
animation , language, speech, voice, voiceType, voiceProvider is contain String Values
Canvas ,Avatar is contains a object values
tags
is contains a list of items
Implementation
factory Slide.fromJson(Map<String, dynamic> json) => Slide(
id: json["id"],
canvas: json["canvas"] == null ? null : Canvas.fromJson(json["canvas"]),
avatar: json["avatar"] == null ? null : Avatar.fromJson(json["avatar"]),
animation: json["animation"],
language: json["language"],
speech: json["speech"],
voice: json["voice"],
voiceType: json["voiceType"],
voiceProvider: json["voiceProvider"],
);