Paragraph.jwplayer constructor
Paragraph.jwplayer(
- String? url
Implementation
factory Paragraph.jwplayer(String? url) {
return Paragraph(
type: "youtube",
rawContent: "",
textSpans: [],
imageUri: "",
jwMediaId: url ?? "",
youtubeVideoId: "",
soundcloudTrackId: "",
soudcloudEmbedCode: "",
hearthisAtTrackId: "",
);
}