APIRequest class
Constructors
-
APIRequest(StorageDatabase storageDatabase, String apiUrl, Map<
String, String> headers)
Properties
- apiUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageDatabase → StorageDatabase
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
send<
T> (String target, RequestType type, {Map< String, dynamic> ? data, List<MultipartFile> files = const [], dynamic onFilesUpload(int bytes, int totalBytes)?, bool log = false, Function? onNoConnection, Map<String, String> headers = const {}, bool appendHeader = true, String errorsField = 'errors'}) → Future<APIResponse< T> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited