ASWInterface class abstract

Implementers

Constructors

ASWInterface.new()

Properties

currentTokens Future<ASWTokenPair?>
no setter
hashCode int
The hash code for this object.
no setterinherited
isAuthenticated Future<bool>
no setter
isTokenExpired Future<bool>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearTokens() Future<void>
deleteMethod<T>(String endpoint, {ASWOption? option, dynamic body, CancelToken? cancelToken}) Future<Either<DioException, Response<T>>>
getMethod<T>(String endpoint, {ASWOption? option, CancelToken? cancelToken}) Future<Either<DioException, Response<T>>>
initialize() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patchMethod<T>(String endpoint, {ASWOption? option, dynamic body, CancelToken? cancelToken}) Future<Either<DioException, Response<T>>>
postMethod<T>(String endpoint, {ASWOption? option, dynamic body, CancelToken? cancelToken}) Future<Either<DioException, Response<T>>>
putMethod<T>(String endpoint, {ASWOption? option, dynamic body, CancelToken? cancelToken}) Future<Either<DioException, Response<T>>>
setTokens(ASWTokenPair tokenPair) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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