Methods
-
delete(String url, {Map<String, String>? params, dynamic body, bool pure = true, bool showDebug = false})
→ Future
-
if pure == true, it will return data without parse it to ApiResponse
inherited
-
get(String url, {Map<String, String>? params, bool pure = true, bool showDebug = false})
→ Future
-
if pure == true, it will return data without parse it to ApiResponse
inherited
-
getWeather({String units = "metric", required double lat, required double lon, String lang = "en"})
→ Future<OpenWeather?>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed.
inherited
-
post(String url, {Map<String, String>? params, dynamic body, bool pure = true, bool showDebug = false})
→ Future
-
if pure == true, it will return data without parse it to ApiResponse
inherited
-
put(String url, {Map<String, String>? params, dynamic body, bool pure = true, bool showDebug = false})
→ Future
-
if pure == true, it will return data without parse it to ApiResponse
inherited
-
toString()
→ String
-
A string representation of this object.
inherited