BaseRequest class

Constructors

BaseRequest({required String baseUrl})
factory

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

getBaseHeader() Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendDeleteRequest(String path, {Map<String, dynamic>? queryParams}) Future
sendGetRequest(String path, {dynamic queryParams, bool sendHeader = true}) Future
sendPostRequest(String path, {dynamic body, Map<String, dynamic>? param, bool sendHeader = true}) Future
sendPutRequest(String path, {Map<String, dynamic>? body, Map<String, dynamic>? param}) Future
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

dio ↔ Dio
getter/setter pair