Paragraph.image constructor
Paragraph.image(
- String? imageUri,
Implementation
factory Paragraph.image(
String? imageUri, String caption, List<TextSpan> captionSpans) {
return Paragraph(
type: "image",
rawContent: caption,
textSpans: captionSpans,
imageUri: imageUri ?? "",
jwMediaId: "",
youtubeVideoId: "",
soundcloudTrackId: "",
soudcloudEmbedCode: "",
hearthisAtTrackId: "",
);
}