ISubtitleRepository class abstract
The base class of any subtitle repository. Deals with the platform directly to get or download the required data and submit it to the provider. You can create your custom by inherited this base class.
- Implementers
Constructors
- ISubtitleRepository()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fetchFromFile(
File file) → Future< String> - Help to fetch subtitle file data from a specific file.
-
fetchFromNetwork(
Uri url) → Future< String> - Help to fetch subtitle file data from internet.
-
get(
Uri url, {Duration? connectionTimeout, Map< String, String> ? headers, bool badCertificateCallback(X509Certificate cert, String host, int port)?}) → Future<Response> - Simple method enable you to create a http GET request.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited