HttpHelper class

Constructors

HttpHelper.new()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

convertDynamicListToStringList(List list) List<String>
getBody(Response response) → dynamic
getJsonFromUrl(String url, {Map<String, String>? headers, int timeout = 15}) Future
getStringFromUrl(String url, {Map<String, String>? headers, int timeout = 15}) Future<String>
postRequest(String url, Map<String, dynamic> body, {Map<String, String>? headers, int timeout = 30}) Future<Response>