SubRipCaptionFile constructor

SubRipCaptionFile(
  1. String fileContents
)

Parses a string into a ClosedCaptionFile, assuming fileContents is in the SubRip file format.

Implementation

SubRipCaptionFile(this.fileContents)
    : _captions = _parseCaptionsFromSubRipString(fileContents);