HttpRequest class

Http Wrpper Class

Constructors

HttpRequest.new(String url, String method, Map<String, dynamic> param, Map<String, String> headers)

Properties

fileData List<int>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
getter/setter pair
method String
getter/setter pair
param Map<String, dynamic>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
getter/setter pair
Url String
no setter

Methods

asCurl({String? file_path}) String
return string of curl command, you can test it in console
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