Paragraph.soundcloudEmbed constructor

Paragraph.soundcloudEmbed(
  1. String trackId,
  2. String embedCode
)

Implementation

factory Paragraph.soundcloudEmbed(String trackId, String embedCode) {
  return Paragraph(
    type: "soundcloud",
    rawContent: "",
    textSpans: [],
    imageUri: "",
    jwMediaId: "",
    youtubeVideoId: "",
    soundcloudTrackId: trackId,
    soudcloudEmbedCode: embedCode,
    hearthisAtTrackId: "",
  );
}