EnzonaRetrofit class
Constructors
-
EnzonaRetrofit({required String apiUrl, String? accessTokenUrl, required String consumerKey, required String consumerSecret, required List<
String> scopes, Duration? timeout, HttpClient? httpClient})
Properties
- accessTokenUrl → String
-
finalinherited
- apiUrl → String
-
finalinherited
- consumerKey → String
-
finalinherited
- consumerSecret → String
-
finalinherited
- credentials → Credentials
-
no setteroverride
- dioOauth2Client ↔ DioOauth2Client
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → HttpClient?
-
Set this if you need control over http requests like validating certificates and so.
Not supported in Web
finalinherited
- isInitialized → bool
-
no setterinherited
- oauth2Client ↔ CustomOauth2Client
-
OAuth2 Client for authorization API requests
latefinalinherited
-
paymentAPI
↔ PaymentAPI<
dynamic, Jsonable< Object> > -
Enzona Payment API
latefinalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scopes
→ List<
String> -
finalinherited
- timeout → Duration?
-
finalinherited
Methods
-
init(
) → Future< void> -
Call this function before using Enzona APIs
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshCredentials(
) → Future< Credentials> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited