WebClient class
Utility class to make web requests
Constructors
- WebClient()
-
const
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
-
get(
String url, {String? companyKey, String? token}) → Future - Send a GET web request
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String url, {String? companyKey, String? token, dynamic data}) → Future - Send a POST web request
-
put(
String url, {String? companyKey, String? token, dynamic data}) → Future - Send a PUT web request
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited