DtbLinkNet class
Dtb Net module
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildAuthHeader(
) → Future< Map< String, String> > - Auth Header builder
-
buildHeader(
) → Future< Map< String, String> > - default Header builder
-
newToken(
{required String username, required String password}) → Future< AuthResp?> - new token requester
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request<
T extends Ret> ({required String path, required String prefix, T? fromJson(Map< String, dynamic> ?)?, Method method = Method.get, dynamic body, Map<String, String> ? headers, dynamic onRespHeader(Map<String, String> )?, Duration timeOut = const Duration(seconds: 20)}) → Future<ApiResponse< T> > - Http requester
-
toString(
) → String -
A string representation of this object.
inherited
-
validToken(
) → Future< AuthResp?> - get validToken
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DtbLinkNet
-
DtbLinkNet instance getter
no setter