DioWrapper class
Class that makes API call easier
Constructors
Properties
Methods
-
configure(
String baseUrl, Duration connectTimeout, Duration sendTimeout, Duration receiveTimeout, String accessToken, Auth0Client auth0client, {bool useLoggerInterceptor = false}) → void -
encodedTelemetry(
) → String -
get(
String url, {Map< String, dynamic> ? params}) → Future<Response> -
DIO GET
take
url
, concrete route -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String url, {dynamic body}) → Future< Response> -
DIO POST
take
url
, concrete route -
toString(
) → String -
A string representation of this object.
inherited
-
url(
String path, {dynamic query, bool includeTelemetry = false}) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited