TokenRepository class
- Inheritance
-
- Object
- HttpRepository
- TokenRepository
Constructors
Properties
- baseUrl → String
-
no setteroverride
- dio ↔ Dio
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- interceptorsWrapper → InterceptorsWrapper
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useInterceptors → bool
-
no setteroverride
Methods
-
addInterceptors(
InterceptorsWrapper interceptorsWrapper) → dynamic -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshToken(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
{required String filePath, String uploadUrl = '/upload-file'}) → Future< File> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited