HttpConnection class Null safety

Implementers

Constructors

HttpConnection(BuildContext context)

Properties

context BuildContext
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

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

Operators

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

Static Methods

paramsToString(Map<String, String>? params) String