DiohttpService class

Constructors

DiohttpService.new({required String consumerId, required String consumerSecret, required String baseUrl})

Properties

b64keySecret String?
getter/setter pair
baseUrl String
final
consumerId String
final
consumerSecret String
final
dio ↔ Dio?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logger ↔ Logger
getter/setter pair
mAccessExpiresAt DateTime?
getter/setter pair
mAccessToken String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAuthUrl() Uri
initializeDio() → Dio
Always use this method to initialize the dio client
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
request({required String url, required Method method, Map<String, dynamic>? params, Options? options, FormData? formdata}) Future
setAccessToken() Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited