DioWrapper class

Class that makes API call easier

Constructors

DioWrapper()

Properties

dio → Dio
final
hashCode int
The hash code for this object.
no setterinherited
host String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scheme String
getter/setter pair

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