TKBaseApi class
- Inheritance
-
- Object
- BaseApi
- TKBaseApi
Properties
- apiUrl → String
-
final
- formData ↔ FormData
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpMethod → HttpMethod
-
finalinherited
-
intrtceptors
↔ List<
Interceptor> -
getter/setter pairinherited
- methed → String
-
no setterinherited
-
params
→ Map<
String, dynamic> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String
-
finalinherited
Methods
-
closeLoading(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
request(
{bool showErrorMsg = true, String? loadingText, String contentType = "", Map< String, dynamic> ? headers, bool showDefaultLoading = true, dynamic data, ResponseType? responseType, bool? nullParams, RequestEncoder? requestEncoder, DioStart? dioStart}) → Future -
inherited
-
showLoading(
{String? loadingText}) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited