film_gyaan library
Classes
- AuthorDetails
- BelongsToCollection
- Cast
- Certification
- CombinedCredits
- ContentRatingsResult
- CreatedBy
- Credentials
- Represents a configuration for a given api key.
- Data
- Dates
- DefaultResult
- Provides a DefaultResult which contains the error or any message which will be used to send an FilmGyaanException to the application.
- Ensure
- Provides Ensure object which will check all the parameters if they are valid or not.
- EpisodeGroupsResult
- FilmGyaan
- FilmGyaan Library
- Job
- KnownFor
- Media
- Network
- PeopleTaggedImagesResult
- PersonDetailsCast
- ProductionCompany
- Profile
- Recommendations
- RecommendationsResult
- ReleaseDate
- ReleaseDatesResult
- Results
- Role
- Season
- TEpisodeToAir
- Title
- Translation
- TvData
- TvRecommendationsResult
- VideosResult
- WatchProviderRegionsResult
- WatchProvidersMovieResult
- WatchProvidersTvResult
Extensions
- RequestTypeExtension on RequestType
- An extension on RequestType to get the details related to the request like the type and other time out parameters.
Functions
-
defaultFlow<
P extends Parameters, R extends Result> ({required Core core, required P params, required BodyDeserializer< R> serializer}) → Future<R> -
A method which will be used to make the http request
from the given
params
and return the response of the typeR
. -
getExceptionFromAny(
dynamic error) → FilmGyaanException - Returns the FilmGyaanException if any error occurs.
-
getExceptionFromDefaultResult(
DefaultResult result) → FilmGyaanException - Returns the FilmGyaanException by checking the DefaultResult.
-
injectLogger(
String id) → LazyLogger - Get a logger from the provider.
-
provideLogger<
R> (ILogger logger, Future< R> body()) → Future<R> -
Provides a
logger
to the code insidebody
.
Exceptions / Errors
- FilmGyaanException
- An exception thrown by the Filmy Gyaan SDK.