IntroListEntry.fromJson constructor
Implementation
factory IntroListEntry.fromJson(Map<String, dynamic> json) => IntroListEntry(
image: json.containsKey("image")
? IntroImage.fromJson(json["image"] as Map<String, dynamic>)
: NoIntroImage(),
text: json.containsKey("text")
? StyledText.fromJson(json["text"] as Map<String, dynamic>)
: StyledText(
text: "?cameraIntroDescription",
color: ScanbotColor("?sbColorOnSurface")),
);