DaktelaConnector class Null safety

Properties

config ← DaktelaConnectorConfig
config setter
write-only
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete(String endpoint, {Map<String, dynamic>? queryParameters, bool nestedDecoding = true}) Future<DaktelaResponse>
HTTP PUT method endpoint - name of endpoint queryParameters - map of query parameters (we recommend you to use DaktelaQueryMap to build request's query) nestedDecoding - flag for response decoding (default is true for standard response decoding)
get(String endpoint, {Map<String, dynamic>? queryParameters, bool nestedDecoding = true, bool internalEndpoint = false, bool longPollingRequest = false}) Future<DaktelaResponse>
HTTP GET method endpoint - name of endpoint queryParameters - map of query parameters (we recommend you to use DaktelaQueryMap to build request's query) nestedDecoding - flag for response decoding (default is true for standard response decoding) internalEndpoint - flag for use /internal endpoint prefix instead of standard /api/v6 (default is false) longPollingRequest - flag for use long polling request timeout (default is false).
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
post(String endpoint, {Map<String, dynamic>? payload, Map<String, dynamic>? queryParameters, bool nestedDecoding = true}) Future<DaktelaResponse>
HTTP POST method endpoint - name of endpoint payload - map of payload queryParameters - map of query parameters (we recommend you to use DaktelaQueryMap to build request's query) nestedDecoding - flag for response decoding (default is true for standard response decoding)
put(String endpoint, {Map<String, dynamic>? payload, Map<String, dynamic>? queryParameters, bool nestedDecoding = true}) Future<DaktelaResponse>
HTTP PUT method endpoint - name of endpoint payload - map of payload queryParameters - map of query parameters (we recommend you to use DaktelaQueryMap to build request's query) nestedDecoding - flag for response decoding (default is true for standard response decoding)
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance DaktelaConnector
instance getter
read-only