BaseConnection class
Properties
-
dio
→ Dio
-
final
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
makeGetRequest(String path, {Map<String, dynamic>? data})
→ TaskEither<String, Response<List>>
-
-
makePostRequest(String path, Map<String, dynamic> data)
→ TaskEither<String, Response<Map<String, dynamic>>>
-
-
mappingGetRequest(String path, {Map<String, dynamic>? data})
→ TaskEither<String, List>
-
-
mappingPostRequest(String path, Map<String, dynamic> data)
→ TaskEither<String, Map<String, dynamic>>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resposeToList(Response response)
→ List
-
-
resposeToMap(Response response)
→ Map<String, dynamic>
-
-
testConnection()
→ Future<bool>
-
-
toString()
→ String
-
A string representation of this object.
inherited