sendThroughPostMethod property

(Future<bool> Function(String urlWithoutParameters, Object data, {Map<String, String>? headers})?) sendThroughPostMethod
getter/setter pair

sendThroughPostMethod Function used to send the data to the server. There is a fallback in case it is not initialized through the init call. Returns true for success. urlWithoutParameters The matomo.php URL without the parameters. data The parameters to be sent by post. headers The headers to be sent along with request.

Implementation

Future<bool> Function(
  String urlWithoutParameters,
  Object data, {
  Map<String, String>? headers,
})? sendThroughPostMethod;