breaking_bad_quotes library
Classes
- BreakingBadQuotes
- BreakingBadQuotes Library
- DefaultResult
- Provides a DefaultResult which contains the error or any message which will be used to send an BreakingBadQuotesException to the application.
- Ensure
- Provides Ensure object which will check all the parameters if they are valid or not.
- Results
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> ({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) → BreakingBadQuotesException - Returns the BreakingBadQuotesException if any error occurs.
-
getExceptionFromDefaultResult(
DefaultResult result) → BreakingBadQuotesException - Returns the BreakingBadQuotesException 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
- BreakingBadQuotesException
- An exception thrown by the Clash Royale API SDK.