DataDome class

Constructors

DataDome(String key)
A public constructor of the DataDome client. The DataDome client side key is to be provided as String.

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete({required String url, Map<String, String> headers = const {}}) Future<Response>
Sends an HTTP DELETE request with the given headers to the given URL. The url should be a String. The headers should be a Map<String, String>.
get({required String url, Map<String, String> headers = const {}}) Future<Response>
Sends an HTTP DELETE request with the given headers to the given URL. The url should be a String. The headers should be a Map<String, String>.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
Sends an HTTP PATCH request with the given headers and body to the given URL. The url should be a String. The headers should be a Map<String, String>. The body can be a List or a Map.
post({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
Sends an HTTP POST request with the given headers and body to the given URL. The url should be a String. The headers should be a Map<String, String>. The body can be a List or a Map.
put({required String url, Map<String, String> headers = const {}, dynamic body}) Future<Response>
Sends an HTTP PUT request with the given headers and body to the given URL. The url should be a String. The headers should be a Map<String, String>. The body can be a List or a Map.
toString() String
A string representation of this object.
inherited

Operators

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