CustomRestAuth class

Constructors

CustomRestAuth({String baseUrl = '', String tokenType = 'Token', Options? options})

Properties

baseUrl String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logger ↔ Logger
getter/setter pair
options ↔ Options?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenType String
getter/setter pair

Methods

authDelete(dynamic path, [dynamic params = const {}]) Future<Response>
authGet(dynamic path, [dynamic params]) Future<Response>
authPost(dynamic path, dynamic body, [dynamic params]) Future<Response>
authPut(dynamic path, dynamic body, [dynamic params = const {}]) Future<Response>
getOption() → Options?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setHeaderToken() Future<void>
toString() String
A string representation of this object.
inherited

Operators

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