CustomRestAuth class Null safety

Constructors

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

Properties

baseUrl String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
logger Logger
read / write
options Options?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tokenType String
read / write

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 non-existent 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