SubtitleDataRepository class
- Inheritance
-
- Object
- SubtitleRepository
- SubtitleDataRepository
Constructors
- SubtitleDataRepository({required SubtitleController subtitleController})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleController → SubtitleController
-
final
Methods
-
encodingForCharset(
String? charset, [Encoding fallback = utf8]) → Encoding -
getSubtitles(
) → Future< Subtitles> -
override
-
getSubtitlesData(
String subtitlesContent, SubtitleType subtitleType) → Subtitles -
loadRemoteSubtitleContent(
{required String subtitleUrl}) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllHtmlTags(
String htmlText) → String -
requestContentType(
Map< String, dynamic> headers) → SubtitleDecoder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited