ApiRequest class abstract
- Inheritance
-
- Object
- BaseRequest
- ApiRequest
Constructors
- ApiRequest({String? token, String? userEmail, required String baseUrl, required String endPoint, required RestMethod method, dynamic decoder(dynamic)?})
Properties
- baseUrl → String
-
finalinherited
-
body
→ Map<
String, dynamic> -
no setterinherited
- completeUrl → String
-
no setterinherited
- decoder → dynamic Function(dynamic)?
-
finalinherited
- endPoint → String
-
finalinherited
- formData → FormData?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
header
↔ Map<
String, String> -
getter/setter pairinherited
-
headers
→ Map<
String, String> -
no setterinherited
- method → RestMethod
-
finalinherited
-
queryParameters
→ Map<
String, dynamic> -
no setterinherited
- receiveTimeout → int?
-
no setterinherited
- responseType → ResponseType
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendTimeout → int?
-
no setterinherited
- token → String?
-
final
- userEmail → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited