SubtitleParser class

Usable class to parsing subtitle file. It is used to analyze and convert subtitle files into software objects that are viewable and usable.

Inheritance

Constructors

SubtitleParser(SubtitleObject object)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
object SubtitleObject
The subtitle object that contain subtitle info (file data and format type).
finalinherited
regexObject SubtitleRegexObject
Getter method to return the current SubtitleRegexObject of this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

normalize(String txt) String
Normalize the text data of subtitle, remove unnecessary characters.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parsing({bool shouldNormalizeText = true}) List<Subtitle>
Abstract method parsing the data from any format and return it as a list of subtitles.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited